Class CalloutStyleRenderer
Inherited Members
Namespace: Mapsui.Rendering.Skia
Assembly: Mapsui.Rendering.Skia.dll
Syntax
public class CalloutStyleRenderer : ISkiaStyleRenderer, IStyleRenderer
Methods
| Edit this page View SourceDraw(SKCanvas, Viewport, ILayer, IFeature, IStyle, IRenderCache, long)
Drawing function for special styles
Declaration
public bool Draw(SKCanvas canvas, Viewport viewport, ILayer layer, IFeature feature, IStyle style, IRenderCache renderCache, long iteration)
Parameters
Type | Name | Description |
---|---|---|
SKCanvas | canvas | SKCanvas for drawing. |
Viewport | viewport | Active viewport for this drawing operation. |
ILayer | layer | Layer that contains feature. |
IFeature | feature | Feature to draw. |
IStyle | style | Style to draw. |
IRenderCache | renderCache | SymbolCache for ready rendered bitmaps. |
long | iteration |
Returns
Type | Description |
---|---|
bool |
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 static SKColor ToSkia(Color? color)
Parameters
Type | Name | Description |
---|---|---|
Color | color | Color in Mapsui format |
Returns
Type | Description |
---|---|
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 |