MapBasicBrush - Latest

Spectrum Spatial Guide

Product type
Software
Portfolio
Locate
Product family
Spectrumâ„¢ software
Product
Spectrumâ„¢ software > Spatial > Spectrum Spatial
Version
Latest
ft:locale
en-US
Product name
Spectrum Technology Platform
ft:title
Spectrum Spatial Guide
Copyright
2025
First publish date
2007
ft:lastEdition
2025-09-26
ft:lastPublication
2025-09-26T10:03:58.880000

Description

The MapBasicBrush element defines a style for a filled object, such as a circle or region.

Elements

The following table lists the elements that can be contained by a MapBasicBrush element.

Table 1. Elements
Element Description

Pattern

An integer value from 1 to 8 and from 12 to 175 specifying the fill pattern.

Note: Pattern codes 9 to 11 are reserved.

For more information about available fill patterns, and corresponding pattern codes, see Fill Pattern Codes.

ForegroundColor

A string value specifying the foreground color.

The value can be any valid CSS color. (See http://www.w3.org/TR/REC-CSS1#color-units.)

BackgroundColor

A string value specifying the background color.

The value can be any valid CSS color. (See http://www.w3.org/TR/REC-CSS1#color-units.)

Note: Omitting this element will yield a transparent background.

Example

This example specifies a fill pattern of blue horizontal lines on a yellow background.

<ns6:MapBasicBrush> 
    <ns6:Pattern>3</ns6:Pattern>
    <ns6:ForegroundColor>blue</ns6:ForegroundColor>
    <ns6:BackgroundColor>yellow</ns6:BackgroundColor>
</ns6:MapBasicBrush>