Bitmap Class

Definition

Pixels the software rasterizer draws into: premultiplied BGRA, 8 bits per channel, rows top to bottom, in a buffer the caller provides or one rented from a pool and returned on Dispose().

public sealed class Bitmap : IDisposable

Remarks

Each pixel is four bytes in memory order blue, green, red, alpha; colour channels are premultiplied by alpha (each is at most the alpha), the layout of BGRA8888 premultiplied surfaces on Windows, Apple platforms, Skia and the HTML canvas after a swizzle. A pixel covers the half-open square of device space from its integer coordinates (ISO 32000-2 §10.7.4).

Not thread-safe: one writer at a time. A bitmap over caller memory never frees it; disposing only detaches it.

Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

Constructors (2)

Properties (4)

Methods (3)