Table of Contents

Class SkiaUtils.BitmapCanvasCached

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Represents a cached bitmap canvas, including its graphics context, size, scale factor, and transparency.

public class SkiaUtils.BitmapCanvasCached : IDisposable
Inheritance
SkiaUtils.BitmapCanvasCached
Implements

Constructors

BitmapCanvasCached()

Initializes a new instance of the SkiaUtils.BitmapCanvasCached class with default values.

BitmapCanvasCached(SizeD, float, bool)

Initializes a new instance of the SkiaUtils.BitmapCanvasCached class with the specified size, scale factor, and transparency.

Fields

DisposeGraphics

Gets or sets a value indicating whether the Graphics instance should be disposed when this instance is disposed.

Graphics

Gets or sets the SkiaGraphics instance used for drawing on the bitmap.

IsTransparent

Gets or sets a value indicating whether the bitmap canvas is transparent.

ScaleFactor

Gets or sets the scale factor used for the bitmap canvas.

Size

Gets or sets the size of the bitmap canvas in device-independent units.

Methods

Dispose()

Releases resources used by the SkiaUtils.BitmapCanvasCached class, optionally disposing the Graphics instance.

Equals(SizeD, float, bool)

Determines whether the specified specified size, scale factor, and transparency flag are equal to those used in the current instance.