Class SymbolStyle
Assembly: Mapsui.dll
Syntax
public class SymbolStyle : VectorStyle, IStyle
Properties
|
Edit this page
View Source
BitmapId
Id of the image in the BitmapRegistry, if SymbolType is Image
Declaration
public int BitmapId { get; set; }
Property Value
|
Edit this page
View Source
BlendModeColor
When BlendModeColor is set a BitmapType.Picture (e.g. used for SVG) will be
drawn in the BlendModeColor ignoring the colors of the Picture itself.
Declaration
public Color? BlendModeColor { get; set; }
Property Value
|
Edit this page
View Source
DefaultHeight
Declaration
public static double DefaultHeight { get; set; }
Property Value
|
Edit this page
View Source
DefaultWidth
Declaration
public static double DefaultWidth { get; set; }
Property Value
|
Edit this page
View Source
RotateWithMap
When true a symbol will rotate along with the rotation of the map.
This is useful if you need to symbolize the direction in which a vehicle
is moving. When the symbol is false it will retain it's position to the
screen. This is useful for pins like symbols. The default is false.
This mode is not supported in the WPF renderer.
Declaration
public bool RotateWithMap { get; set; }
Property Value
|
Edit this page
View Source
SymbolOffset
Gets or sets the offset in pixels of the symbol.
Declaration
public Offset SymbolOffset { get; set; }
Property Value
|
Edit this page
View Source
SymbolOffsetRotatesWithMap
Should SymbolOffset position rotate with map
Declaration
public bool SymbolOffsetRotatesWithMap { get; set; }
Property Value
|
Edit this page
View Source
SymbolRotation
Gets or sets the rotation of the symbol in degrees (clockwise is positive)
Declaration
public double SymbolRotation { get; set; }
Property Value
|
Edit this page
View Source
SymbolScale
Scale of the symbol (defaults to 1)
Declaration
public double SymbolScale { get; set; }
Property Value
|
Edit this page
View Source
SymbolType
Declaration
public SymbolType SymbolType { get; set; }
Property Value
|
Edit this page
View Source
UnitType
Declaration
public UnitType UnitType { get; set; }
Property Value
Methods
|
Edit this page
View Source
Equals(SymbolStyle?)
Declaration
public bool Equals(SymbolStyle? symbolStyle)
Parameters
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 ==(SymbolStyle?, SymbolStyle?)
Declaration
public static bool operator ==(SymbolStyle? symbolStyle1, SymbolStyle? symbolStyle2)
Parameters
Returns
|
Edit this page
View Source
operator !=(SymbolStyle?, SymbolStyle?)
Declaration
public static bool operator !=(SymbolStyle? symbolStyle1, SymbolStyle? symbolStyle2)
Parameters
Returns
Implements
Extension Methods