Curve shape specification.
- Source
Extends
Members
callback :Func
function to call on click
- Func
- Inherited From
- Source
clickable :boolean
if true, user can click on object to trigger callback
- boolean
- Inherited From
- Source
color :ColorSpec|Array
Either a single color for the whole object or an array specifying the color at each vertex (CustomShapeSpec
).
- ColorSpec |
Array
- Inherited From
- Source
contextMenuEnabled :boolean
if true, user can right-click or long press to trigger callback
- boolean
- Inherited From
- Source
frame :number
if set, only display in this frame of an animation
- number
- Inherited From
- Source
fromArrow :boolean
if an arrow should be drawn at the start
- boolean
- Source
fromCap :CAP
have cap at start
- Source
hidden :boolean
if true, do not display object
- boolean
- Inherited From
- Source
hover_callback :Func
hover callback
- Func
- Inherited From
- Source
hoverable :boolean
if true, user can hover on object to trigger callback
- boolean
- Inherited From
- Source
linewidth :number
width of line for wireframe rendering No longer supported by most browsers
- number
- Inherited From
- Source
opacity :number
transparency, between 0 (invisible) and 1 (opaque)
- number
- Inherited From
- Source
points :Array
Sequence of points to draw curve through
- Array
- Source
radius :number
radius of curve
- number
- Source
smooth :number
amount of interpolation
- number
- Source
toArrow :boolean
if an arrow should be drawn at the end
- boolean
- Source
toCap :CAP
have cap at end
- Source
unhover_callback :Func
unhover callback
- Func
- Inherited From
- Source
wireframe :boolean
draw as wireframe, not surface
- boolean
- Inherited From
- Source