Table of Contents

Class DynamicBitmap

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

Represents a dynamically resizable bitmap that supports transparency and scaling.

public class DynamicBitmap : DynamicBitmap<Bitmap>, IBaseObjectWithAttr, IBaseObjectWithId, INotifyPropertyChanged, IDisposableObject, IDisposable, IBaseObject
Inheritance
DynamicBitmap
Implements

Remarks

This class provides functionality for creating and managing a bitmap with dynamic size, scale factor, and transparency settings. It extends the DynamicBitmap<T> class, specializing it for use with Bitmap.

Constructors

DynamicBitmap()

Initializes a new instance of the DynamicBitmap class.

DynamicBitmap(SizeD, float, bool)

Initializes a new instance of the DynamicBitmap class.

Methods

CreateBitmap()

Creates and returns a new bitmap instance.

CreateOrUpdate(ref DynamicBitmap?, SizeD, float, bool)

Updates the properties of an existing DynamicBitmap instance or creates a new instance if the reference is null.