Search Results for

    Show / Hide Table of Contents

    Class BitmapRegion

    Defines which section of an image (the atlas) should be used from drawing a symbol (the sprite).

    Inheritance
    object
    BitmapRegion
    Implements
    IEquatable<BitmapRegion>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Styles
    Assembly: Mapsui.dll
    Syntax
    public record BitmapRegion : IEquatable<BitmapRegion>

    Constructors

    | Edit this page View Source

    BitmapRegion(int, int, int, int)

    Defines which section of an image (the atlas) should be used from drawing a symbol (the sprite).

    Declaration
    public BitmapRegion(int X, int Y, int Width, int Height)
    Parameters
    Type Name Description
    int X

    The X-coordinate of the origin within the atlas.

    int Y

    The Y-coordinate of the origin within the atlas.

    int Width

    The width of the region.

    int Height

    The height of the region.

    Properties

    | Edit this page View Source

    Height

    The height of the region.

    Declaration
    public int Height { get; init; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Width

    The width of the region.

    Declaration
    public int Width { get; init; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    X

    The X-coordinate of the origin within the atlas.

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

    Y

    The Y-coordinate of the origin within the atlas.

    Declaration
    public int Y { get; init; }
    Property Value
    Type Description
    int

    Implements

    IEquatable<T>

    Extension Methods

    DisposableExtension.DisposeIfDisposable(object?)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX