Język

NSBitmapFormat Enum

Definition

Specifies a bitmask describing the pixel layout and sample encoding of an NSBitmapImageRep.

This enumeration supports a bitwise combination of its member values.

[ObjCRuntime.Native]
[System.Flags]
public enum NSBitmapFormat
[<ObjCRuntime.Native>]
[<System.Flags>]
type NSBitmapFormat = 
Inheritance
NSBitmapFormat
Attributes

Fields

Name Value Description
AlphaFirst 1

The alpha component is stored first in each pixel, rather than last.

AlphaNonpremultiplied 2

The color components are not premultiplied by the alpha component.

FloatingPointSamples 4

Each sample is stored as a floating-point value, rather than an integer.

LittleEndian16Bit 256

16-bit samples are stored in little-endian byte order.

LittleEndian32Bit 512

32-bit samples are stored in little-endian byte order.

BigEndian16Bit 1024

16-bit samples are stored in big-endian byte order.

BigEndian32Bit 2048

32-bit samples are stored in big-endian byte order.

Applies to