[]
Represents a point to be used as an anchor.
public class AnchorPoint
Gets or sets the value to be multiplied by Height before adding to the position of the Rect's top side.
public float HeightFactor { get; set; }
Gets or sets the value to be added to the position of the Rect's left side.
public float LeftOffset { get; set; }
Gets the coordinates of the point relative to the owner LayoutView.
public PointF Location { get; }
Gets the owner LayoutRect object.
public LayoutRect Rect { get; }
Gets or sets the value to be added to the position of the Rect's top side.
public float TopOffset { get; set; }
Gets the transformation matrix of the AnchorPoint taking into account the owner LayoutView transformation and the current position of the point.
public Matrix Transform { get; }
Gets the coordinates of the point relative to the LayoutHost.
public PointF TransformedLocation { get; }
Gets the owner LayoutView object.
public LayoutView View { get; }
Gets or sets the value to be multiplied by Width before adding to the position of the Rect's left side.
public float WidthFactor { get; set; }
Transforms the location of AnchorPoint to the coordinate system of the targetRect
.
public PointF MapToRect(LayoutRect targetRect)
targetRect
LayoutRectA LayoutRect which defines the base angle and position.
The transformed location.
Transforms the location of AnchorPoint to another view's coordinates.
public PointF MapToView(LayoutView targetView)
targetView
LayoutViewThe destination LayoutView or null to reference the LayoutHost.
The transformed location.