Class VectorStyleRenderer
Inherited Members
Namespace: Mapsui.Rendering.Skia
Assembly: Mapsui.Rendering.Skia.dll
Syntax
public class VectorStyleRenderer : ISkiaStyleRenderer, IStyleRenderer, IFeatureSizeMethods
| Edit this page View SourceDraw(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 | 
FeatureSize(VectorStyle)
Declaration
public static double FeatureSize(VectorStyle vectorStyle)Parameters
| Type | Name | Description | 
|---|---|---|
| VectorStyle | vectorStyle | 
Returns
| Type | Description | 
|---|---|
| double |