Class Brush
  
  
  
  
  
  Assembly: Mapsui.dll
  Syntax
  
  Constructors
  
    |
    Edit this page
  
  
    View Source
  
  
  Brush()
  
  
  Declaration
  
  
    |
    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
  
  
    |
    Edit this page
  
  
    View Source
  
  
  BitmapId
  This identifies bitmap in the BitmapRegistry
Declaration
  
    public int BitmapId { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  Color
  
  
  Declaration
  
    public Color? Color { get; set; }
   
  Property Value
  
  
    |
    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
  
  Methods
  
    |
    Edit this page
  
  
    View Source
  
  
  Equals(Brush?)
  
  
  Declaration
  
    protected bool Equals(Brush? brush)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Brush | brush |  | 
    
  
  Returns
  
  
    |
    Edit this page
  
  
    View Source
  
  
  Equals(object?)
  
  
  Declaration
  
    public override bool Equals(object? obj)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | object | obj |  | 
    
  
  Returns
  
  Overrides
  
  
    |
    Edit this page
  
  
    View Source
  
  
  GetHashCode()
  
  
  Declaration
  
    public override int GetHashCode()
   
  Returns
  
  Overrides
  
  Operators
  
    |
    Edit this page
  
  
    View Source
  
  
  operator ==(Brush?, Brush?)
  
  
  Declaration
  
    public static bool operator ==(Brush? brush1, Brush? brush2)
   
  Parameters
  
  Returns
  
  
    |
    Edit this page
  
  
    View Source
  
  
  operator !=(Brush?, Brush?)
  
  
  Declaration
  
    public static bool operator !=(Brush? brush1, Brush? brush2)
   
  Parameters
  
  Returns