CurveSpec

Curve shape specification.

Extends

Members

callback :Func

function to call on click

Type:
  • Func
Inherited From

clickable :boolean

if true, user can click on object to trigger callback

Type:
  • boolean
Inherited From

color :ColorSpec|Array

Either a single color for the whole object or an array specifying the color at each vertex (CustomShapeSpec).

Type:
Inherited From

frame :number

if set, only display in this frame of an animation

Type:
  • number
Inherited From

fromArrow :boolean

if an arrow should be drawn at the start

Type:
  • boolean

fromCap :CAP

have cap at start

Type:

hidden :boolean

if true, do not display object

Type:
  • boolean
Inherited From

hover_callback :Func

hover callback

Type:
  • Func

hoverable :boolean

if true, user can hover on object to trigger callback

Type:
  • boolean
Inherited From

linewidth :number

width of line for wireframe rendering No longer supported by most browsers

Type:
  • number
Inherited From

opacity :number

transparency, between 0 (invisible) and 1 (opaque)

Type:
  • number
Inherited From

points :Array

Sequence of points to draw curve through

Type:
  • Array

radius :number

radius of curve

Type:
  • number

smooth :number

amount of interpolation

Type:
  • number

toArrow :boolean

if an arrow should be drawn at the end

Type:
  • boolean

toCap :CAP

have cap at end

Type:

unhover_callback :Func

unhover callback

Type:
  • Func

wireframe :boolean

draw as wireframe, not surface

Type:
  • boolean
Inherited From