Constructor BitmapProperties
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.dll
BitmapProperties(DevicePixelFormat, Vector2Float, BitmapOptions, IDeviceColorContext?)
public BitmapProperties(DevicePixelFormat pixelFormat, Vector2Float dpi, BitmapOptions options = BitmapOptions.None, IDeviceColorContext? colorContext = null)
Parameters
pixelFormat
DevicePixelFormat
dpi
Vector2Float
options
BitmapOptions
colorContext
IDeviceColorContext
BitmapProperties(DevicePixelFormat, float, float, BitmapOptions, IDeviceColorContext?)
public BitmapProperties(DevicePixelFormat pixelFormat, float dpiX = 96, float dpiY = 96, BitmapOptions options = BitmapOptions.None, IDeviceColorContext? colorContext = null)
Parameters
pixelFormat
DevicePixelFormat
dpiX
float
dpiY
float
options
BitmapOptions
colorContext
IDeviceColorContext
BitmapProperties(DxgiFormat, AlphaMode, Vector2Float, BitmapOptions, IDeviceColorContext?)
public BitmapProperties(DxgiFormat dxgiFormat, AlphaMode alphaMode, Vector2Float dpi, BitmapOptions options = BitmapOptions.None, IDeviceColorContext? colorContext = null)
Parameters
dxgiFormat
DxgiFormat
alphaMode
AlphaMode
dpi
Vector2Float
options
BitmapOptions
colorContext
IDeviceColorContext
BitmapProperties(DxgiFormat, AlphaMode, float, float, BitmapOptions, IDeviceColorContext?)
public BitmapProperties(DxgiFormat dxgiFormat, AlphaMode alphaMode, float dpiX = 96, float dpiY = 96, BitmapOptions options = BitmapOptions.None, IDeviceColorContext? colorContext = null)
Parameters
dxgiFormat
DxgiFormat
alphaMode
AlphaMode
dpiX
float
dpiY
float
options
BitmapOptions
colorContext
IDeviceColorContext