Table of Contents

Struct BitmapProperties

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

This structure allows a IDeviceBitmap to be created with bitmap options and color context information available.
D2D1_BITMAP_PROPERTIES1

public struct BitmapProperties : IEquatable<BitmapProperties>
Implements
Inherited Members

Constructors

BitmapProperties(DevicePixelFormat, Vector2Float, BitmapOptions, IDeviceColorContext?)
BitmapProperties(DevicePixelFormat, float, float, BitmapOptions, IDeviceColorContext?)
BitmapProperties(DxgiFormat, AlphaMode, Vector2Float, BitmapOptions, IDeviceColorContext?)
BitmapProperties(DxgiFormat, AlphaMode, float, float, BitmapOptions, IDeviceColorContext?)

Fields

DefaultDpiX
DefaultDpiY

Properties

ColorContext

The optionally specified color context information.

DefaultDpi
Dpi

The bitmap DPI.

Options

The special creation options of the bitmap.

PixelFormat

The DXGI format and alpha mode to create the bitmap with.

Methods

Equals(BitmapProperties)
Equals(in BitmapProperties)
Equals(object?)
GetHashCode()

Operators

operator ==(in BitmapProperties, in BitmapProperties)
operator !=(in BitmapProperties, in BitmapProperties)