Search Results for

    Show / Hide Table of Contents

    Class Brush

    Inheritance
    object
    Brush
    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 Brush

    Constructors

    | Edit this page View Source

    Brush()

    Declaration
    public Brush()
    | Edit this page View Source

    Brush(Brush)

    Declaration
    public Brush(Brush brush)
    Parameters
    Type Name Description
    Brush brush
    | Edit this page View Source

    Brush(Color)

    Declaration
    public Brush(Color color)
    Parameters
    Type Name Description
    Color color

    Properties

    | Edit this page View Source

    Background

    Declaration
    public Color? Background { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    BitmapId

    This identifies bitmap in the BitmapRegistry

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

    Color

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

    FillStyle

    This identifies how the brush is applied, works for Color not for bitmaps

    Declaration
    public FillStyle FillStyle { get; set; }
    Property Value
    Type Description
    FillStyle

    Methods

    | Edit this page View Source

    Equals(Brush?)

    Declaration
    protected bool Equals(Brush? brush)
    Parameters
    Type Name Description
    Brush brush
    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()

    Operators

    | Edit this page View Source

    operator ==(Brush?, Brush?)

    Declaration
    public static bool operator ==(Brush? brush1, Brush? brush2)
    Parameters
    Type Name Description
    Brush brush1
    Brush brush2
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator !=(Brush?, Brush?)

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