Class Brush
Assembly: Mapsui.dll
Syntax
public class Brush : IHasImage
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
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
|
Edit this page
View Source
Image
Declaration
public Image? Image { 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?)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
The object to compare with the current object.
|
Returns
| Type |
Description |
| bool |
true if the specified object is equal to the current object; otherwise, false.
|
Overrides
|
Edit this page
View Source
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| int |
A hash code for the current object.
|
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
Implements
Extension Methods