JSPolygonStyle
API for creating and modifying polygon style objects.
Create a API with Module.JSPolygonStyle.
JSPolygonStyle allows for the bulk specification of styles for multiple polygon objects.
var objectStyle = new Module.JSPolygonStyle();
Getter / Setter
getFill(), setFill(fill) → boolean
Sets whether the object's fill color is applied.
If not set, it is applied (true).
fill
boolean
Whether to apply the object's fill color. true to apply color. false to not apply.
Return
true: Fill color applied.
false: Fill color not applied.
getFillColor(), setFillColor(color) → JSColor
Sets the fill color of the object's style.
getOutLine(), setOutLine(set) → boolean
Sets whether the object's outline color is applied.
If not set, it is applied (true).
set
boolean
Whether to apply the outline color. true to apply color. false to not apply.
Return
true: Outline color applied.
false: Outline color not applied.
getOutLineColor(), setOutLineColor(color) → JSColor
Sets the outline color of the object's style.
Last updated