ReferencebezierControls

<bezierControls>

<bezierControls>is a Graphical component. It is always the child of a <curve> component and provides a means to specify the control vectors at each bezier curve control point.

Attributes and Properties

Attributes for <bezierControls>
AttributeTypeValues
alwaysVisible = "…"boolean"true" "false"
Props for <bezierControls name="b">
PropertyType
$b.alwaysVisibleboolean
$b.disabledboolean
$b.fixedboolean
$b.fixLocationboolean
$b.hiddenboolean

Example: <bezierControls> with nested control vectors

Assuming all control points have symmetric control vectors, the vectors may be specified directly in list form inside a <bezierControls> component, in the same order as the control points are specified in the parent <curve> component.


Example: <bezierControls> with <controlVectors> children

Control vectors for a bezier <curve> can also be specified as individual <controlVectors> nested within a <bezierControls> block.


Example: <bezierControls> with asymmetric control vectors

When a single control point has distinct control vectors in each direction, two <vector> components may be listed within the <controlVectors> component in a <bezierControls> block. In this case, specify direction="both" within the <controlVectors> block.


Attribute Example: alwaysVisible

The alwaysVisible attribute can be used with <bezierControls> to make handles permanently visible.