Class D2D1RectangleGeometry
Describes a two-dimensional rectangle.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.D2D1
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
[SecurityCritical]
public class D2D1RectangleGeometry : D2D1Geometry, IDisposable
Constructors
| Edit this page View SourceD2D1RectangleGeometry(nint)
Initializes a new instance of the D2D1RectangleGeometry class.
Declaration
public D2D1RectangleGeometry(nint comPtr)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | comPtr |
Fields
| Edit this page View SourceD2D1RectangleGeometryGuid
The interface GUID.
Declaration
public static readonly Guid D2D1RectangleGeometryGuid
Field Value
| Type | Description |
|---|---|
| Guid |
Properties
| Edit this page View SourceRect
Gets the rectangle that describes the rectangle geometry's dimensions.
Declaration
public D2D1RectF Rect { get; }
Property Value
| Type | Description |
|---|---|
| D2D1RectF |