Search Results for

    Show / Hide Table of Contents

    Class LabelStyleRenderer

    Inheritance
    object
    LabelStyleRenderer
    Implements
    ISkiaStyleRenderer
    IStyleRenderer
    IFeatureSize
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Rendering.Skia
    Assembly: Mapsui.Rendering.Skia.dll
    Syntax
    public class LabelStyleRenderer : ISkiaStyleRenderer, IStyleRenderer, IFeatureSize

    Methods

    | Edit this page View Source

    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
    | Edit this page View Source

    DrawAsBitmap(SKCanvas, LabelStyle, IFeature, float, float, float, VectorCache)

    Declaration
    public void DrawAsBitmap(SKCanvas canvas, LabelStyle style, IFeature feature, float x, float y, float layerOpacity, VectorCache vectorCache)
    Parameters
    Type Name Description
    SKCanvas canvas
    LabelStyle style
    IFeature feature
    float x
    float y
    float layerOpacity
    VectorCache vectorCache
    | Edit this page View Source

    FeatureSize(IFeature, LabelStyle, RenderService)

    Declaration
    public static double FeatureSize(IFeature feature, LabelStyle labelStyle, RenderService renderService)
    Parameters
    Type Name Description
    IFeature feature
    LabelStyle labelStyle
    RenderService renderService
    Returns
    Type Description
    double

    Implements

    ISkiaStyleRenderer
    IStyleRenderer
    IFeatureSize

    Extension Methods

    DisposableExtension.DisposeIfDisposable(object?)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX