Search Results for

    Show / Hide Table of Contents

    Class SvgDrawableImage

    Inheritance
    object
    SvgDrawableImage
    Implements
    IDrawableImage
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Rendering.Skia.Images
    Assembly: Mapsui.Rendering.Skia.dll
    Syntax
    public sealed class SvgDrawableImage : IDrawableImage, IDisposable

    Constructors

    | Edit this page View Source

    SvgDrawableImage(SKPicture)

    Initializes a new instance of the SvgDrawableImage class with the specified SKPicture.

    Declaration
    public SvgDrawableImage(SKPicture picture)
    Parameters
    Type Name Description
    SKPicture picture

    The SKPicture to be used for the image. SvgDrawableImage will dispose it.

    | Edit this page View Source

    SvgDrawableImage(SKSvg)

    Initializes a new instance of the SvgDrawableImage class with the specified SKPicture.

    Declaration
    public SvgDrawableImage(SKSvg skSvg)
    Parameters
    Type Name Description
    SKSvg skSvg

    The SKSvg to be used for the image. SvgDrawableImage will dispose it.

    | Edit this page View Source

    SvgDrawableImage(byte[])

    Declaration
    public SvgDrawableImage(byte[] bytes)
    Parameters
    Type Name Description
    byte[] bytes

    Properties

    | Edit this page View Source

    Height

    Declaration
    public float Height { get; }
    Property Value
    Type Description
    float
    | Edit this page View Source

    OriginalStream

    Declaration
    public byte[]? OriginalStream { get; }
    Property Value
    Type Description
    byte[]
    | Edit this page View Source

    Picture

    Declaration
    public SKPicture Picture { get; }
    Property Value
    Type Description
    SKPicture
    | Edit this page View Source

    Width

    Declaration
    public float Width { get; }
    Property Value
    Type Description
    float

    Methods

    | Edit this page View Source

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()

    Implements

    IDrawableImage
    IDisposable

    Extension Methods

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