Class D2D1GeometryGroup
Represents a composite geometry, composed of other D2D1Geometry objects.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.D2D1
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
[SecurityCritical]
public class D2D1GeometryGroup : D2D1Geometry, IDisposable
Constructors
| Edit this page View SourceD2D1GeometryGroup(nint)
Initializes a new instance of the D2D1GeometryGroup class.
Declaration
public D2D1GeometryGroup(nint comPtr)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | comPtr |
Fields
| Edit this page View SourceD2D1GeometryGroupGuid
The interface GUID.
Declaration
public static readonly Guid D2D1GeometryGroupGuid
Field Value
| Type | Description |
|---|---|
| Guid |
Properties
| Edit this page View SourceFillMode
Gets a value indicating how the intersecting areas of the geometries contained in this geometry group are combined.
Declaration
public D2D1FillMode FillMode { get; }
Property Value
| Type | Description |
|---|---|
| D2D1FillMode |
Methods
| Edit this page View SourceGetSourceGeometries()
Retrieves the geometries in the geometry group.
Declaration
public D2D1Geometry[] GetSourceGeometries()
Returns
| Type | Description |
|---|---|
| D2D1Geometry[] | An array of geometries to be filled by this method. |
GetSourceGeometries(Span<D2D1Geometry>)
Retrieves the geometries in the geometry group.
Declaration
public void GetSourceGeometries(Span<D2D1Geometry> geometries)
Parameters
| Type | Name | Description |
|---|---|---|
| Span<D2D1Geometry> | geometries | An array of geometries to be filled by this method. |
GetSourceGeometryCount()
Gets the number of geometry objects in the geometry group.
Declaration
public uint GetSourceGeometryCount()
Returns
| Type | Description |
|---|---|
| uint | The number of geometries in the geometry group. |