highlight method

void highlight([
  1. Part? part
])

Make the given part the only highlighted part. Afterwards the #highlighteds collection will have only the given part in it.

Note that no predefined command or tool operates on the #highlighteds collection, and there is no predefined visual rendering when a part becomes Part#isHighlighted. @param {Part} part a Part that is already in a layer of this Diagram. If the value is null, this does nothing. @see Part#isHighlighted @see #highlightCollection @see #clearHighlighteds @see #select @since 1.4

Implementation

void highlight([_i3.Part? part]) {
  _i4.callMethod(
    this,
    'highlight',
    [part ?? _i5.undefined],
  );
}