Search Results for

    Show / Hide Table of Contents

    Class ImageStyleRenderer

    Inheritance
    object
    ImageStyleRenderer
    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 ImageStyleRenderer : ISkiaStyleRenderer, IStyleRenderer, IFeatureSize

    Methods

    | Edit this page View Source

    ConvertPictureToImage(SKPicture, int, int)

    Declaration
    public static SKImage ConvertPictureToImage(SKPicture picture, int width, int height)
    Parameters
    Type Name Description
    SKPicture picture
    int width
    int height
    Returns
    Type Description
    SKImage
    | 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

    DrawSKImage(SKCanvas, SKImage, float)

    Declaration
    public static void DrawSKImage(SKCanvas canvas, SKImage bitmap, float opacity)
    Parameters
    Type Name Description
    SKCanvas canvas
    SKImage bitmap
    float opacity
    | Edit this page View Source

    DrawSKPicture(SKCanvas, SKPicture, float, Color?)

    Declaration
    public static void DrawSKPicture(SKCanvas canvas, SKPicture picture, float opacity, Color? blendModeColor)
    Parameters
    Type Name Description
    SKCanvas canvas
    SKPicture picture
    float opacity
    Color? blendModeColor
    | Edit this page View Source

    FeatureSize(ImageStyle, RenderService)

    Declaration
    public static double FeatureSize(ImageStyle imageStyle, RenderService renderService)
    Parameters
    Type Name Description
    ImageStyle imageStyle
    RenderService renderService
    Returns
    Type Description
    double
    | Edit this page View Source

    TryCreateDrawableImage(Image, ImageSourceCache)

    Declaration
    public static IDrawableImage? TryCreateDrawableImage(Image image, ImageSourceCache imageSourceCache)
    Parameters
    Type Name Description
    Image image
    ImageSourceCache imageSourceCache
    Returns
    Type Description
    IDrawableImage

    Implements

    ISkiaStyleRenderer
    IStyleRenderer
    IFeatureSize

    Extension Methods

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