RectPoints.fromActor constructor
RectPoints.fromActor(
- Actor actor
Implementation
RectPoints.fromActor(Actor actor)
: this(
anchor: actor.anchor,
topLeft: actor.absolutePositionOfAnchor(Anchor.topLeft),
topRight: actor.absolutePositionOfAnchor(Anchor.topRight),
bottomLeft: actor.absolutePositionOfAnchor(Anchor.bottomLeft),
bottomRight: actor.absolutePositionOfAnchor(Anchor.bottomRight),
);