topLeftPosition property
Vector2
topLeftPosition
The top-left corner's position in the parent's coordinates.
Implementation
Vector2 get topLeftPosition => positionOfAnchor(Anchor.topLeft);
Implementation
set topLeftPosition(Vector2 point) {
position += point - topLeftPosition;
}