OptionsCollection

OptionsCollection

{Object} OptionsCollection Options for shapes, lines, and groups

Constructor

new OptionsCollection(shadow, border, axis, points, coordinates)

Description:
  • Create an options collection
Source:
Properties:
Name Type Attributes Default Description
shadow boolean <optional>
false Display shadow
border boolean <optional>
false Display border
axis boolean <optional>
false Display axis
points boolean <optional>
false Display points
coordinates boolean <optional>
false Display coordinates
controlPoints boolean <optional>
false Display control points
shadow boolean <optional>
false Display shadow
Parameters:
Name Type Description
shadow boolean Show shadow
border boolean Show border
axis boolean Show axis
points boolean Show points
coordinates boolean Show coordinates

Methods

axis(value)

Description:
  • Set axis value
Source:
Parameters:
Name Type Description
value boolean Axis; true | false

axis() → {boolean}

Description:
  • Get axis value
Source:
Returns:
Axis; true | false
Type
boolean

border(value)

Description:
  • Set border value
Source:
Parameters:
Name Type Description
value boolean Border; true | false

border() → {boolean}

Description:
  • Get border value
Source:
Returns:
Border; true | false
Type
boolean

controlPoints(value)

Description:
  • Set control points value
Source:
Parameters:
Name Type Description
value boolean Control points; true | false

controlPoints() → {boolean}

Description:
  • Get control points value
Source:
Returns:
Control points; true | false
Type
boolean

coordinates(value)

Description:
  • Set coordinates value
Source:
Parameters:
Name Type Description
value boolean Coordinates; true | false

coordinates() → {boolean}

Description:
  • Get coordinates value
Source:
Returns:
Coordinates; true | false
Type
boolean

points(value)

Description:
  • Set points value
Source:
Parameters:
Name Type Description
value boolean Points; true | false

points() → {boolean}

Description:
  • Get points value
Source:
Returns:
Points; true | false
Type
boolean

shadow(value)

Description:
  • Set shadow value
Source:
Parameters:
Name Type Description
value boolean Shadow; true | false

shadow() → {boolean}

Description:
  • Get shadow value
Source:
Returns:
Shadow; true | false
Type
boolean