Show / Hide Table of Contents

    Class Brush

    Inheritance
    System.Object
    Brush
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Mapsui.Styles
    Assembly: Mapsui.dll
    Syntax
    public class Brush

    Constructors

    | Improve this Doc View Source

    Brush()

    Declaration
    public Brush()
    | Improve this Doc View Source

    Brush(Brush)

    Declaration
    public Brush(Brush brush)
    Parameters
    Type Name Description
    Brush brush
    | Improve this Doc View Source

    Brush(Color)

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

    Properties

    | Improve this Doc View Source

    Background

    Declaration
    public Color Background { get; set; }
    Property Value
    Type Description
    Color
    | Improve this Doc View Source

    BitmapId

    This identifies bitmap in the BitmapRegistry

    Declaration
    public int BitmapId { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Color

    Declaration
    public Color Color { get; set; }
    Property Value
    Type Description
    Color
    | Improve this Doc 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

    | Improve this Doc View Source

    Equals(Brush)

    Declaration
    public bool Equals(Brush brush)
    Parameters
    Type Name Description
    Brush brush
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()

    Operators

    | Improve this Doc View Source

    Equality(Brush, Brush)

    Declaration
    public static bool operator ==(Brush brush1, Brush brush2)
    Parameters
    Type Name Description
    Brush brush1
    Brush brush2
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Inequality(Brush, Brush)

    Declaration
    public static bool operator !=(Brush brush1, Brush brush2)
    Parameters
    Type Name Description
    Brush brush1
    Brush brush2
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX