Class D2D1DrawingStateBlock
Represents the drawing state of a render target: the antialiasing mode, transform, tags, and text-rendering options.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.D2D1
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
[SecurityCritical]
public class D2D1DrawingStateBlock : D2D1Resource, IDisposable
Constructors
| Edit this page View SourceD2D1DrawingStateBlock(nint)
Initializes a new instance of the D2D1DrawingStateBlock class.
Declaration
public D2D1DrawingStateBlock(nint comPtr)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | comPtr |
Fields
| Edit this page View SourceD2D1DrawingStateBlockGuid
The interface GUID.
Declaration
public static readonly Guid D2D1DrawingStateBlockGuid
Field Value
| Type | Description |
|---|---|
| Guid |
Properties
| Edit this page View SourceDescription
Gets or sets the antialiasing mode, transform, and tags portion of the drawing state.
Declaration
public D2D1DrawingStateDescription Description { get; set; }
Property Value
| Type | Description |
|---|---|
| D2D1DrawingStateDescription |
TextRenderingParams
Gets or sets the text-rendering configuration of the drawing state.
Declaration
public DWriteRenderingParams? TextRenderingParams { get; set; }
Property Value
| Type | Description |
|---|---|
| DWriteRenderingParams |