BITMAPINFOHEADER class base struct

Contains information about the dimensions and color format of a device-independent bitmap (DIB).

To learn more, see learn.microsoft.com/windows/win32/api/wingdi/ns-wingdi-bitmapinfoheader.

Inheritance
Implemented types
Available extensions

Constructors

BITMAPINFOHEADER()

Properties

address Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
biBitCount int
Specifies the number of bits per pixel (bpp).
getter/setter pair
biClrImportant int
Specifies the number of color indices that are considered important for displaying the bitmap.
getter/setter pair
biClrUsed int
Specifies the number of color indices in the color table that are actually used by the bitmap.
getter/setter pair
biCompression int
For compressed video and YUV formats, this member is a FOURCC code, specified as a DWORD in little-endian order.
getter/setter pair
biHeight int
Specifies the height of the bitmap, in pixels.
getter/setter pair
biPlanes int
Specifies the number of planes for the target device.
getter/setter pair
biSize int
Specifies the number of bytes required by the structure.
getter/setter pair
biSizeImage int
Specifies the size, in bytes, of the image.
getter/setter pair
biWidth int
Specifies the width of the bitmap, in pixels.
getter/setter pair
biXPelsPerMeter int
Specifies the horizontal resolution, in pixels per meter, of the target device for the bitmap.
getter/setter pair
biYPelsPerMeter int
Specifies the vertical resolution, in pixels per meter, of the target device for the bitmap.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toNative({Allocator allocator = adaptiveCalloc}) Pointer<BITMAPINFOHEADER>
Allocates native memory and copies the contents of this struct into it.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited