[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.Layer

Layer Class

ID2D1Layer

Implements
Namespace: GrapeCity.Documents.DX.Direct2D
Assembly: GcDocs.DX.Windows.dll
Syntax
[Guid("2cd9069b-12e2-11dc-9fed-001143a055f9")]
public class Layer : Resource, IDisposable, IUnknown

Constructors

Name Description
Layer(IntPtr)

Initializes a new instance of the Layer class.

Methods

Name Description
Create(RenderTarget)

Creates a layer resource that can be used with this render target and its compatible render targets. The new layer has the specified initial size. The layer resource is allocated to the minimum size when {{PushLayer}} is called.

Create(RenderTarget, Size2F?)

Creates a layer resource that can be used with this render target and its compatible render targets. The new layer has the specified initial size.

GetSize()

D2D_SIZE_F ID2D1Layer::GetSize()

Operators

Name Description
explicit operator Layer(IntPtr)

Performs an explicit conversion from IntPtr to Layer.