AreaStyle - 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

An AreaStyle element defines a composite style comprising a line style (as defined by a LineStyle element) and a fill style (as defined by an Interior element).

Context

The table below lists the elements that can contain, or be contained by, an AreaStyle element.

Table 1. Context
Contained by Element Contains

NamedStyle or CompositeStyle

AreaStyle

LineStyle and Interior

Attributes

The table below lists the attributes of an AreaStyle element.

Table 2. Attributes
Attribute Description

id

A unique identifier for the element.

name

A descriptive name for the element.

Example

This example specifies an area filled with a solid light green color, bounded by a 1-pixel dashed black line.

<?xml version="1.0" encoding="UTF-8"?>
<NamedStyle
    version="MXP_WorkSpace_1_5"
    xmlns="http://www.mapinfo.com/mxp"
    xmlns:gml="http://www.opengis.net/gml">
    <AreaStyle>
        <LineStyle
            width="1"
            width-unit="mapinfo:imagesize pixel">
            <Pen>mapinfo:pen 9</Pen>
        </LineStyle>
        <Interior fill-opacity="1" fill="(#id7)">
            <Defs>
                <Pattern id="id7">
                    <Bitmap uri="mapinfo:brush 2">
                        <ColorAdjustmentSet>
                            <ColorAdjustment
                                color-1="nonWhite"
                                color-2="rgb(224,255,176)"
                                opacity="1"/>
                            <ColorAdjustment
                                color-1="white"
                                color-2="white"
                                opacity="1"/>
                        </ColorAdjustmentSet>
                    </Bitmap>
                </Pattern>
            </Defs>
        </Interior>
    </AreaStyle>
</NamedStyle>