updateAdornments method

void updateAdornments(
  1. Part part
)

Show an Adornment with the resize handles at points along the edge of the bounds of the selected Part's Part#resizeObject.

First this finds the object in the visual tree of the Part that should get the resize adornment and that the user will be able to resize interactively. It finds the object that has the Part#resizeObjectName property of the Part. If the Part#resizeObjectName property is an empty string, as it is by default, it uses the whole part.

It then builds the adornment, associating it with the chosen resize object. If Part#resizeAdornmentTemplate is non-null, it is copied. Otherwise it constructs a new Adornment with a Placeholder and eight copies of #handleArchetype, four at the corners and four at the middle of each side.

This method may be overridden. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose @param {Part} part

Implementation

void updateAdornments(_i3.Part part) {
  _i4.callMethod(
    this,
    'updateAdornments',
    [part],
  );
}