EyeAuras Docs EyeAuras Docs
EyeAuras Docs EyeAuras Docs
DocFX + Singulink = ♥

Search Results for

    Property PositionAnchor

    PositionAnchor

    Anchor point that determines the position of the rectangle within the overall coordinate system.

    Declaration
    RegionAnchorType PositionAnchor { get; set; }
    Property Value
    Type Description
    RegionAnchorType
    Remarks

    For example, given a rectangle of 200x100 (width x height):

    • If the PositionAnchor is set to TopLeft, and we want the rectangle to start at the position (50,50) in the coordinate system, the rectangle's top left corner will be placed at (50,50).
    • If the PositionAnchor is set to BottomRight, and we want the rectangle's bottom right corner to be at position (250,150) in the coordinate system, the rectangle's top left corner will be positioned at (50,50) in the coordinate system.
    © Xab3r. All rights reserved.