Class SvgDrawableImage
Inheritance
SvgDrawableImage
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
|
Edit this page
View Source
OriginalStream
Declaration
public byte[]? OriginalStream { get; }
Property Value
|
Edit this page
View Source
Picture
Declaration
public SKPicture Picture { get; }
Property Value
|
Edit this page
View Source
Width
Declaration
public float Width { get; }
Property Value
Methods
|
Edit this page
View Source
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
Implements
Extension Methods