Search Results for

    Show / Hide Table of Contents

    Class Offset

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

    Constructors

    | Edit this page View Source

    Offset()

    Offset of images from the center of the image. If IsRelative, than the offset is between -0.5 and +0.5.

    Declaration
    public Offset()
    | Edit this page View Source

    Offset(Offset, bool)

    Declaration
    public Offset(Offset offset, bool isRelative = false)
    Parameters
    Type Name Description
    Offset offset
    bool isRelative
    | Edit this page View Source

    Offset(double, double, bool)

    Declaration
    public Offset(double x, double y, bool isRelative = false)
    Parameters
    Type Name Description
    double x
    double y
    bool isRelative

    Properties

    | Edit this page View Source

    IsRelative

    Declaration
    public bool IsRelative { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    X

    Declaration
    public double X { get; set; }
    Property Value
    Type Description
    double
    | Edit this page View Source

    Y

    Declaration
    public double Y { get; set; }
    Property Value
    Type Description
    double

    Methods

    | Edit this page View Source

    Equals(Offset?)

    Declaration
    public bool Equals(Offset? offset)
    Parameters
    Type Name Description
    Offset offset
    Returns
    Type Description
    bool
    | Edit this page View Source

    Equals(object?)

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()
    | Edit this page View Source

    ToPoint()

    Declaration
    public MPoint ToPoint()
    Returns
    Type Description
    MPoint

    Operators

    | Edit this page View Source

    operator ==(Offset?, Offset?)

    Declaration
    public static bool operator ==(Offset? offset1, Offset? offset2)
    Parameters
    Type Name Description
    Offset offset1
    Offset offset2
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator !=(Offset?, Offset?)

    Declaration
    public static bool operator !=(Offset? offset1, Offset? offset2)
    Parameters
    Type Name Description
    Offset offset1
    Offset offset2
    Returns
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX