Class D2D1PathGeometry
Represents a complex shape that may be composed of arcs, curves, and lines.
Inherited Members
Namespace: JeremyAnsel.DirectX.D2D1
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
public sealed class D2D1PathGeometry : D2D1Geometry, IDisposable, ID2D1Releasable
Properties
| Edit this page View SourceFigureCount
Gets the number of figures in the path geometry.
Declaration
public uint FigureCount { get; }
Property Value
Type | Description |
---|---|
uint |
Handle
Gets an handle representing the D2D1 object interface.
Declaration
public override object Handle { get; }
Property Value
Type | Description |
---|---|
object |
Overrides
| Edit this page View SourceSegmentCount
Gets the number of segments in the path geometry.
Declaration
public uint SegmentCount { get; }
Property Value
Type | Description |
---|---|
uint |
Methods
| Edit this page View SourceOpen()
Retrieves the geometry sink that is used to populate the path geometry with figures and segments.
Declaration
public D2D1GeometrySink Open()
Returns
Type | Description |
---|---|
D2D1GeometrySink | The geometry sink that is used to populate the path geometry with figures and segments. |
Stream(D2D1GeometrySink)
Copies the contents of the path geometry to the specified D2D1GeometrySink.
Declaration
public void Stream(D2D1GeometrySink geometrySink)
Parameters
Type | Name | Description |
---|---|---|
D2D1GeometrySink | geometrySink | The sink to which the path geometry's contents are copied. Modifying this sink does not change the contents of this path geometry. |