Search Results for

    Show / Hide Table of Contents

    Class CalloutStyleRenderer

    Inheritance
    object
    CalloutStyleRenderer
    Implements
    ISkiaStyleRenderer
    IStyleRenderer
    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 CalloutStyleRenderer : ISkiaStyleRenderer, IStyleRenderer

    Methods

    | Edit this page View Source

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

    RenderCallout(CalloutStyle)

    Declaration
    public static void RenderCallout(CalloutStyle callout)
    Parameters
    Type Name Description
    CalloutStyle callout
    | Edit this page View Source

    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

    | Edit this page View Source

    UpdateContent(CalloutStyle)

    Update content for single and detail

    Declaration
    public static void UpdateContent(CalloutStyle callout)
    Parameters
    Type Name Description
    CalloutStyle callout

    Implements

    ISkiaStyleRenderer
    IStyleRenderer
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX