Class LoadedImageSource
public class LoadedImageSource : IDisposable
- Inheritance
-
LoadedImageSource
- Implements
- Inherited Members
- Extension Methods
Constructors
LoadedImageSource()
public LoadedImageSource()
LoadedImageSource(SKBitmap)
public LoadedImageSource(SKBitmap bitmap)
Parameters
bitmapSKBitmap
LoadedImageSource(SKImage)
public LoadedImageSource(SKImage image)
Parameters
imageSKImage
LoadedImageSource(byte[])
public LoadedImageSource(byte[] bytes)
Parameters
bytesbyte[]
Properties
Bitmap
public SKBitmap Bitmap { get; set; }
Property Value
Height
public int Height { get; }
Property Value
Id
public Guid Id { get; }
Property Value
Image
public SKImage Image { get; set; }
Property Value
IsDisposed
public bool IsDisposed { get; protected set; }
Property Value
ProtectBitmapFromDispose
Should be set to true for loaded with SkiaImageManager.ReuseBitmaps
public bool ProtectBitmapFromDispose { get; set; }
Property Value
ProtectFromDispose
As this can be disposed automatically by the consuming control like SkiaImage etc we can manually prohibit this for cases this instance is used elsewhere.
public bool ProtectFromDispose { get; set; }
Property Value
Width
public int Width { get; }
Property Value
Methods
Clone()
public LoadedImageSource Clone()
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
GetBitmap()
public SKBitmap GetBitmap()