topLeftPosition property

Vector2 topLeftPosition

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

Implementation

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

Implementation

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