focus property

Point get focus

Gets or sets the offset of the #focusX and #focusY from the #bounds position. Setting this property does not directly modify the position of any Node, but it does affect the value of #centerX and #centerY.

The "focus" is normally the center of the Node's Part#locationObject.

Implementation

_i3.Point get focus => _i4.getProperty(
      this,
      'focus',
    );
set focus (Point value)

Implementation

set focus(_i3.Point value) {
  _i4.setProperty(
    this,
    'focus',
    value,
  );
}