Class CalloutStyleRenderer
Inherited Members
Namespace: Mapsui.Rendering.Skia
Assembly: Mapsui.Rendering.Skia.dll
Syntax
public class CalloutStyleRenderer : ISkiaStyleRenderer, IStyleRendererMethods
| Edit this page View SourceCreateCalloutContent(CalloutStyle, RenderService)
Update content for single and detail
Declaration
public static SKPicture CreateCalloutContent(CalloutStyle callout, RenderService renderService)Parameters
| Type | Name | Description | 
|---|---|---|
| CalloutStyle | callout | |
| RenderService | renderService | 
Returns
| Type | Description | 
|---|---|
| SKPicture | 
Draw(SKCanvas, Viewport, ILayer, IFeature, IStyle, RenderService, long)
Drawing function for special styles
Declaration
public bool Draw(SKCanvas canvas, Viewport viewport, ILayer layer, IFeature feature, IStyle style, RenderService renderService, 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. | 
| RenderService | renderService | RenderService to provide caches and such. | 
| long | iteration | 
Returns
| Type | Description | 
|---|---|
| bool |