| Altus Mapping Engine JavaScript API Reference - v2.0.ut.2153.g60764257e - Tuesday May 16, 2022 | SDK Documentation | Builds | BA3 Home |
Expresses style for a polygon. More...
Public Member Functions | |
| PolygonStyle (Color fillColor, Color strokeColor, float strokeWidth, Color outlineColor, float outlineWidth) | |
| Constructor More... | |
| Color | fillColor () |
| The fill color of the interior of the polygon More... | |
| void | fillColor_set (Color val) |
| Color | strokeColor () |
| The interior color of the optional outline More... | |
| void | strokeColor_set (Color val) |
| Color | outlineColor () |
| The outer color of the optional outline More... | |
| void | outlineColor_set (Color val) |
| Color | shadowColor () |
| Color of an optional drop shadow for this polygon More... | |
| void | shadowColor_set (Color val) |
| vec2f | shadowOffset () |
| Offset of the optional drop shadow for this polygon More... | |
| void | shadowOffset_set (vec2f val) |
| void | setStyleId (uint styleId) |
| uint | getStyleId () |
| void | setDashArray2 (float dash, float gap) |
| void | setDashArray4 (float dash0, float gap0, float dash1, float gap1) |
Public Attributes | |
| float | strokeWidth |
| The width of the interior portion of the optional outline, in points More... | |
| float | outlineWidth |
| The width of the outer color of the optional outline, in points More... | |
| float | dashOffset |
| dash offset, used for dashed lines. SetDashArray2 or SetDashArray4 must also be called. More... | |
Expresses style for a polygon.
| AltusUnified::PolygonStyle::PolygonStyle | ( | Color | fillColor, |
| Color | strokeColor, | ||
| float | strokeWidth, | ||
| Color | outlineColor, | ||
| float | outlineWidth | ||
| ) |
Constructor
| fillColor | The fill color of the interior of the polygon |
| strokeColor | The interior color of the optional outline |
| strokeWidth | The width of the interior portion of the optional outline, in points |
| outlineColor | The outer color of the optional outline |
| outlineWidth | The width of the outer color of the optional outline, in points |
| Color AltusUnified::PolygonStyle::fillColor | ( | ) |
The fill color of the interior of the polygon
| void AltusUnified::PolygonStyle::fillColor_set | ( | Color | val | ) |
| uint AltusUnified::PolygonStyle::getStyleId | ( | ) |
| Color AltusUnified::PolygonStyle::outlineColor | ( | ) |
The outer color of the optional outline
| void AltusUnified::PolygonStyle::outlineColor_set | ( | Color | val | ) |
| void AltusUnified::PolygonStyle::setDashArray2 | ( | float | dash, |
| float | gap | ||
| ) |
| void AltusUnified::PolygonStyle::setDashArray4 | ( | float | dash0, |
| float | gap0, | ||
| float | dash1, | ||
| float | gap1 | ||
| ) |
| void AltusUnified::PolygonStyle::setStyleId | ( | uint | styleId | ) |
| void AltusUnified::PolygonStyle::shadowColor_set | ( | Color | val | ) |
| vec2f AltusUnified::PolygonStyle::shadowOffset | ( | ) |
Offset of the optional drop shadow for this polygon
| void AltusUnified::PolygonStyle::shadowOffset_set | ( | vec2f | val | ) |
| Color AltusUnified::PolygonStyle::strokeColor | ( | ) |
The interior color of the optional outline
| void AltusUnified::PolygonStyle::strokeColor_set | ( | Color | val | ) |
| float AltusUnified::PolygonStyle::dashOffset |
dash offset, used for dashed lines. SetDashArray2 or SetDashArray4 must also be called.
| float AltusUnified::PolygonStyle::outlineWidth |
The width of the outer color of the optional outline, in points
| float AltusUnified::PolygonStyle::strokeWidth |
The width of the interior portion of the optional outline, in points