<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>
Other (1)
boolean. Default value: false. Whether Bezier control handles are always shown (rather than only when the curve is selected).
Common to all components (9)
copyreference. Create an independent copy of another component by reference. Enter a references a $name.
disabledboolean. Default value: false. Whether this component is disabled and cannot be interacted with.
extendreference. Extend another component by reference, inheriting its children and attributes. Enter a reference as $name.
fixedboolean. Default value: false. Whether this component's value is fixed and cannot be modified.
fixLocationboolean. Default value: false. Whether this component's location is fixed (preventing it from being moved while still allowing other modifications).
hideboolean. Default value: false. Whether to hide this component from the rendered output.
isResponseboolean. Default value: false. Whether this component is treated as a response for the purposes of assessment.
nametext. The name used to reference this component from elsewhere in the document.
styleNumberinteger. Default value: 1. The style number used to select this component's visual styling from the available style definitions.
Properties for <bezierControls name="b">
Other (5)
$b.alwaysVisibleboolean. Whether Bezier control handles are always shown (rather than only when the curve is selected).
$b.disabledboolean. Whether this component is disabled and cannot be interacted with.
$b.fixedboolean. Whether this component's value is fixed and cannot be modified.
$b.fixLocationboolean. Whether this component's location is fixed (preventing it from being moved while still allowing other modifications).
Common to all components (4)
$b.doenetMLtext. The DoenetML source code that produced this component.
$b.hideboolean. Whether to hide this component from the rendered output.
$b.isResponseboolean. Whether this component is treated as a response for the purposes of assessment.
$b.styleNumberinteger. The style number used to select this component's visual styling from the available style definitions.
Examples
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 Examples
Attribute Example: alwaysVisible
The alwaysVisible attribute can be used with <bezierControls> to make handles permanently visible.