JSPolyLineStyle

API for creating and modifying Line style objects.

Create a API with Module.JSPolyLineStyle.

JSPolyLineStyle allows for the bulk specification of styles for multiple line objects.

var objectStyle = new Module.JSPolyLineStyle();

Getter / Setter

getColor(), setColor(color) → JSColor

Sets the color of the line.

Name
Type
Description

color

The color of the line.

  • Return

getWidth(), setWidth(width) → number

Sets the thickness of the line.

Name
Type
Description

width

number

The thickness of the line.

  • Return

    • number: The thickness of the line.

Last updated