Search Results for

    Show / Hide Table of Contents

    Class RelativeOffset

    Inheritance
    object
    Offset
    RelativeOffset
    Inherited Members
    Offset.X
    Offset.Y
    Offset.IsRelative
    Offset.ToPoint()
    Offset.Equals(object)
    Offset.Equals(Offset)
    Offset.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Styles
    Assembly: Mapsui.dll
    Syntax
    public class RelativeOffset : Offset

    Constructors

    | Edit this page View Source

    RelativeOffset()

    Offset of an image to the center of the source. The unit of measure is the width or height of an image. So in case of an an offset of (0.5, 0.5) the symbol will be moved half the width of the image to the right and half the height of the image to the top. So the bottom left point of the image will be on the location.

    Declaration
    public RelativeOffset()
    | Edit this page View Source

    RelativeOffset(Offset)

    Declaration
    public RelativeOffset(Offset offset)
    Parameters
    Type Name Description
    Offset offset
    | Edit this page View Source

    RelativeOffset(double, double)

    Declaration
    public RelativeOffset(double x, double y)
    Parameters
    Type Name Description
    double x
    double y
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX