Class CalloutStyleRenderer
Implements
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.Rendering.Skia
Assembly: Mapsui.Rendering.Skia.dll
Syntax
public class CalloutStyleRenderer : SymbolStyle, IStyle
Methods
| Improve this Doc View SourceDraw(SKCanvas, IReadOnlyViewport, Single, Point, CalloutStyle)
Declaration
public static void Draw(SKCanvas canvas, IReadOnlyViewport viewport, float opacity, Point destination, CalloutStyle calloutStyle)
Parameters
Type | Name | Description |
---|---|---|
SkiaSharp.SKCanvas | canvas | |
IReadOnlyViewport | viewport | |
System.Single | opacity | |
Point | destination | |
CalloutStyle | calloutStyle |
RenderCallout(CalloutStyle)
Declaration
public static void RenderCallout(CalloutStyle callout)
Parameters
Type | Name | Description |
---|---|---|
CalloutStyle | callout |
ToSkia(Color)
Convert Mapsui color to Skia color
Declaration
public SKColor ToSkia(Color color)
Parameters
Type | Name | Description |
---|---|---|
Color | color | Color in Mapsui format |
Returns
Type | Description |
---|---|
SkiaSharp.SKColor | Color in Skia format |
UpdateContent(CalloutStyle)
Update content for single and detail
Declaration
public static void UpdateContent(CalloutStyle callout)
Parameters
Type | Name | Description |
---|---|---|
CalloutStyle | callout |