[]
D2D1_BITMAP_PROPERTIES1
public class BitmapProperties1
Initializes a new instance of the BitmapProperties1 class.
public BitmapProperties1()
Initializes a new instance of the BitmapProperties1 class.
public BitmapProperties1(PixelFormat pixelFormat, float dpiX, float dpiY, BitmapOptions bitmapOptions, ColorContext colorContext)
pixelFormat
PixelFormatThe pixel format.
dpiX
floatThe dpi X.
dpiY
floatThe dpi Y.
bitmapOptions
BitmapOptionsThe bitmap options.
colorContext
ColorContextThe color context.
Initializes a new instance of the BitmapProperties1 class.
public BitmapProperties1(PixelFormat pixelFormat, float dpiX, float dpiY, BitmapOptions bitmapOptions)
pixelFormat
PixelFormatThe pixel format.
dpiX
floatThe dpi X.
dpiY
floatThe dpi Y.
bitmapOptions
BitmapOptionsThe bitmap options.
Initializes a new instance of the BitmapProperties struct.
public BitmapProperties1(PixelFormat pixelFormat, float dpiX, float dpiY)
pixelFormat
PixelFormatThe pixel format.
dpiX
floatThe dpi X.
dpiY
floatThe dpi Y.
Initializes a new instance of the BitmapProperties struct.
public BitmapProperties1(PixelFormat pixelFormat)
pixelFormat
PixelFormatThe pixel format.
D2D1_BITMAP_OPTIONS bitmapOptions
public BitmapOptions BitmapOptions
ID2D1ColorContext* colorContext
public IntPtr ColorContextPointer
float dpiX
public float DpiX
float dpiY
public float DpiY
D2D1_PIXEL_FORMAT pixelFormat
public PixelFormat PixelFormat
Gets or sets the color context.
public ColorContext ColorContext { get; set; }