| Maptitude GISDK Help |
Creates a new fill style.
fillstyle = FillStyle(array specification)
| Argument | Contents |
|---|---|
| specification | An array of eight strings containing eight characters each |
A string indicating the new fill style.
The strings define an 8x8 pattern grid. Spaces are filled with the background color and non-spaces are filled with the foreground color.
Passing null for the specification returns the not filled fillstyle.
str1 = "XXXXXXXX"
str2 = " "
str3 = "X X X X "
str4 = " X X X X"
solid = FillStyle({str1, str1, str1, str1, str1, str1, str1, str1})
empty = FillStyle({str2, str2, str2, str2, str2, str2, str2, str2})
shaded = FillStyle({str3, str4, str3, str4, str3, str4, str3, str4})
| Error Type | Meaning |
|---|---|
| Error | The specification is invalid. |
| Function | Summary |
|---|---|
| SetFillStyle() | Sets the style used to fill area features |
| GetFillStyle() | Returns the style used to fill area features |
| GetFillStyleDefinition() | Returns an array defining the fill style |
| LineStyle() | Creates a new line style |
| ©2025 Caliper Corporation | www.caliper.com |