handleArchetype property
GraphObject?
get
handleArchetype
Gets or sets a small GraphObject that is copied as a rotation handle for the selected part. By default this is a Shape that is a small yellow circle. Setting this property does not raise any events.
Here is an example of changing the default handle to be green "X":
myDiagram.toolManager.rotatingTool.handleArchetype =
$(go.Shape, "XLine",
{ width: 8, height: 8, stroke: "green", fill: "transparent" });
This property is ignored when a custom rotating Adornment is specified as the Part#rotateAdornmentTemplate.
Implementation
_i3.GraphObject? get handleArchetype => _i4.getProperty(
this,
'handleArchetype',
);
set
handleArchetype
(GraphObject? value)
Implementation
set handleArchetype(_i3.GraphObject? value) {
_i4.setProperty(
this,
'handleArchetype',
value ?? _i5.undefined,
);
}