Constructor
new Options(anchor, axis, border, coordinates, controlPoints, points, shadow)
- Description:
- Create an options object
- Source:
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
anchor |
boolean |
<optional> |
false
|
Show anchor |
axis |
boolean |
<optional> |
false
|
Show axis |
border |
boolean |
<optional> |
false
|
Show border |
coordinates |
boolean |
<optional> |
false
|
Show coordinates |
controlPoints |
boolean |
<optional> |
false
|
Show control points |
points |
boolean |
<optional> |
false
|
Show points |
shadow |
boolean |
<optional> |
false
|
Show shadow |
master |
Object | Master object |
Parameters:
Name | Type | Description |
---|---|---|
anchor |
boolean | Show anchor |
axis |
boolean | Show axis |
border |
boolean | Show border |
coordinates |
boolean | Show coordinates |
controlPoints |
boolean | Show control points |
points |
boolean | Show points |
shadow |
boolean | Show shadow |
Methods
anchor(value)
- Description:
- Set anchor value
- Source:
Parameters:
Name | Type | Description |
---|---|---|
value |
boolean | Anchor; true | false |
anchor() → {boolean}
- Description:
- Get anchor value
- Source:
Returns:
Anchor; true | false
- Type
- boolean
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
master(value)
- Description:
- Set master object
- Source:
- See:
Parameters:
Name | Type | Description |
---|---|---|
value |
clObject | Canvas Lab object |
master() → {clObject}
- Description:
- Get master object
- Source:
- See:
Returns:
Master Canvas Lab object
- Type
- clObject
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