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