Interior
Description
The Interior element defines a style for a filled area.
Context
Table 1 lists the elements that can contain, or be contained by, an Interior element.
Contained by | Element | Contains |
---|---|---|
NamedStyle or AreaStyle |
Interior |
Attributes
Table 2 lists the attributes of an Interior element.
Attribute | Description |
---|---|
id |
A unique identifier for the element. |
name |
A descriptive name for the element. |
fill |
The fill color or pattern. The value can be one of five different forms of defining a color, or the Examples:
The |
fill-opacity |
A floating-point value from 0 to 1 specifying the opacity of the fill. A value of 0 means that the fill is totally transparent. A value of 1 means that the fill is totally opaque. A value of 0.5 means that the fill is 50% translucent. The The |
Example
This example specifies a solid fill pattern.
<?xml version="1.0" encoding="UTF-8"?>
<NamedStyle
version="MXP_WorkSpace_1_5"
xmlns="http://www.mapinfo.com/mxp">
<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>
</NamedStyle>