internal Anchor2d(Vec2 position, Orientation2d orientation, OrientationType orientationType, Entity2d parent) { Position = position; Orientation = orientation; OrientationType = orientationType; Parent = parent; }
public Anchor2d CreateAnchor(Vec2 anchorPosition, Orientation2d orientation = Orientation2d.UpperLeft, OrientationType orientationType = OrientationType.Absolute) { return(new Anchor2d(anchorPosition, orientation, orientationType, this)); }