OptionalactiveThe mode to determine when the parameter is active. (default: 'default')
OptionalavailableThe interaction effect on objects when available. (default: '#ffffff')
OptionalcornersOptions to disable specific points of the rectangle. Disabled points are not interactive but still visible as locked handles. By default, all points are enabled.
OptionaldeselectIf true, the selection will be cleared when clicking on an empty space. (default: false)
OptionaledgeOptions to disable specific edgeControls of the rectangle. Disabled edgeControls are not interactive but still visible as locked handles. By default, all edgeControls are enabled.
OptionalenableIf the rotation is enabled. (default: true)
OptionalenableIf the scaling is enabled. (default: true)
OptionalenableIf the translation is enabled. (default: true)
OptionalhoverIf the objects are hoverable. (default: true)
OptionalhoverThe interaction effect on objects when hovered. (default: '#00ff78')
OptionalmaximumThe maximum number of objects that can be selected. (default: 1)
OptionalminimumThe minimum number of objects that can be selected. (default: 1)
OptionalnameThe names of the objects that can be interacted with. (see Jira document and discussion result)
OptionalobjectsThe objects that can be dragged.
For each object, the name filter and the restrictions can be defined. The name filter is used to filter the objects that can be dragged with the defined settings. This means that multiple objects can be dragged with different settings, but also multiple objects can be dragged with the same settings.
This is only used for dragging, not for rotation or scaling!
OptionalplaneThe plane restriction for the RectangleTransform. At least the plane type and the plane vectors need to be defined if a custom plane restriction is provided. If not provided, a default plane restriction will be applied.
OptionalpromptA prompt that can be defined which is displayed instead of the default prompt.
OptionalactiveText?: stringThe text when the parameter is inactive.
OptionalactiveTitle?: stringThe title when the parameter is active.
OptionalinactiveTitle?: stringThe title when the parameter is inactive.
OptionalrestrictionsThe restrictions that can be applied to the draggable objects.
OptionalrotationOptionalhandleDistance?: numberDistance of the rotation handle above the top edge of the rectangle, expressed as a fraction of the rectangle's height. Default is 0.25.
Optionalmax?: numberThe maximum allowed rotation angle around the plane normal. The angle is provided in degrees for easier configuration but will be converted to radians internally. With this setting, it's possible to restrict the rotation to a certain range. Default is undefined (no maximum angle).
Optionalmin?: numberThe minimum allowed rotation angle around the plane normal. The angle is provided in degrees for easier configuration but will be converted to radians internally. With this setting, it's possible to restrict the rotation to a certain range. Default is undefined (no minimum angle).
Optionalstep?: numberThe step size for rotation around the plane normal. The step is provided in degrees for easier configuration but will be converted to radians internally. With this setting, it's possible to snap the rotation to specific increments. Default is undefined (no snapping).
OptionalstepThreshold?: numberThe threshold for snapping during rotation around the plane normal. With this setting, it's possible to define how close the rotation needs to be to a snap point for it to snap. Default is undefined (no snapping threshold).
OptionalscalingScaling options for the RectangleTransform.
Optionalstep?: numberThe step size for scaling in the local x and y directions. The step is provided in world units. With this setting, it's possible to snap the scaling to specific increments. Default is undefined (no snapping).
OptionaluMax?: numberThe maximum allowed length of the rectangle's sides during scaling. With this settings, it's possible to restrict the scaling to a certain range. Default is undefined (no maximum length).
OptionaluMin?: numberThe minimum allowed length of the rectangle's sides during scaling. With this settings, it's possible to restrict the scaling to a certain range. Default is undefined (no minimum length).
Optionaluniform?: booleanIf true, the RectangleTransform will maintain a uniform scale, meaning it will scale equally in all directions based on the average of the local x and y scales. If false or undefined, the RectangleTransform will scale independently in the local x and y directions. Default is false (non-uniform scaling).
OptionalvMax?: numberThe maximum allowed length of the rectangle's sides during scaling. With this settings, it's possible to restrict the scaling to a certain range. Default is undefined (no maximum length).
OptionalvMin?: numberThe minimum allowed length of the rectangle's sides during scaling. With this settings, it's possible to restrict the scaling to a certain range. Default is undefined (no minimum length).
OptionalselectionThe interaction effect on objects when selected. (default: '#0d44f0')
Properties of a selection parameter.