topLeftPosition property

Vector2 get topLeftPosition
inherited

The top-left corner's position in the parent's coordinates.

Implementation

Vector2 get topLeftPosition => positionOfAnchor(Anchor.topLeft);
set topLeftPosition (Vector2 point)
inherited

Implementation

set topLeftPosition(Vector2 point) {
  position += point - topLeftPosition;
}