Class D2D1Layer
Represents the backing store required to render a layer.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.D2D1
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
[SecurityCritical]
public class D2D1Layer : D2D1Resource, IDisposable
Constructors
| Edit this page View SourceD2D1Layer(nint)
Initializes a new instance of the D2D1Layer class.
Declaration
public D2D1Layer(nint comPtr)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | comPtr |
Fields
| Edit this page View SourceD2D1LayerGuid
The interface GUID.
Declaration
public static readonly Guid D2D1LayerGuid
Field Value
| Type | Description |
|---|---|
| Guid |
Properties
| Edit this page View SourceSize
Gets the size of the layer in device-independent pixels.
Declaration
public D2D1SizeF Size { get; }
Property Value
| Type | Description |
|---|---|
| D2D1SizeF |