handleArchetype property

GraphObject? handleArchetype

Gets or sets a small GraphObject that is copied as a resizing handle for the selected part. By default this is a Shape that is a small blue rectangle. Setting this property does not raise any events.

Here is an example of changing the default handle to be larger yellow circles:

  myDiagram.toolManager.resizingTool.handleArchetype =
    $(go.Shape, "Circle",
      { width: 10, height: 10, fill: "yellow" });

This property is ignored when a custom resizing Adornment is specified as the Part#resizeAdornmentTemplate. That property is normally null, in which case this tool will automatically construct Adornments holding eight copies of this handle archetype, each with a GraphObject#alignment being one of the standard eight Spots.

Implementation

_i3.GraphObject? get handleArchetype => _i4.getProperty(
      this,
      'handleArchetype',
    );
void handleArchetype=(GraphObject? value)

Implementation

set handleArchetype(_i3.GraphObject? value) {
  _i4.setProperty(
    this,
    'handleArchetype',
    value ?? _i5.undefined,
  );
}