AbstractSplineGui:
Filter:
splines/Classes (extension) | Splines > GuiClasses

AbstractSplineGui
ExtensionExtension

Parent class for SplineGui

Description

This abstract parent class creates the UserView itself. Of most interest are the getter/setter methods for the colors and fonts.

Instance Methods

.alpha

get/set view opacity of spline and its grid lines.

Returns:

float

.color

get/set color of spline

Returns:

.crossHairsColor

get/set the cross hairs that are displayed when selecting and moving a point

Returns:

.textColor

get/set the color of the value label that shows the values of the currently selected point.

Returns:

.pointSize

get/set the diameter of the points. This also determines the hit size for mouse clicks, so don't make it too small.

Returns:

integer : pixels diameter

.font

get/set the Font used for the value. To set the font for the GridLines, access those directly.

Returns:

.showGrid

boolean: show the GridLines or not. Useful when displaying multiple splines on top of each other.

Returns:

boolean

.gui

called by the concrete subclasses

Arguments:

parent

(describe argument here)

bounds

(describe argument here)

userView

(describe argument here)

Returns:

(returnvalue)

.initColors

called by the concrete subclasses.

Returns:

(returnvalue)

.makeView

called by the concrete subclasses

Arguments:

parent

(describe argument here)

bounds

(describe argument here)

userView

(describe argument here)

Returns:

(returnvalue)