Name | Description | |
---|---|---|

PathGeometry Constructor | Initializes a new instance of the PathGeometry class. |

PathGeometry Class Members

In This Topic

The following tables list the members exposed by PathGeometry.

Public Constructors

Name | Description | |
---|---|---|

PathGeometry Constructor | Initializes a new instance of the PathGeometry class. |

Public Properties

Name | Description | |
---|---|---|

FlatteningTolerance | Get or set the default flattening tolerance used for all methods that are not explicitly using it. Default is set to 0.25f. (Inherited from C1.Util.DX.Direct2D.Geometry) | |

IsDisposed | Gets a value indicating whether this instance is disposed. (Inherited from C1.Util.DX.DisposeBase) | |

NativePointer | Get a pointer to the underlying Cpp Object (Inherited from C1.Util.DX.CppObject) | |

Tag | Gets or sets a custom user tag object to associate with this instance.. (Inherited from C1.Util.DX.CppObject) |

Public Methods

Name | Description | |
---|---|---|

Combine | Overloaded. Combines this geometry with the specified geometry and stores the result in an SimplifiedGeometrySink. (Inherited from C1.Util.DX.Direct2D.Geometry) | |

Compare | Overloaded. Describes the intersection between this geometry and the specified geometry. The comparison is performed by using the specified flattening tolerance. (Inherited from C1.Util.DX.Direct2D.Geometry) | |

ComputeArea | Overloaded. Computes the area of the geometry after it has been transformed by the specified matrix and flattened using the specified tolerance. (Inherited from C1.Util.DX.Direct2D.Geometry) | |

ComputeLength | Overloaded. Calculates the length of the geometry as though each segment were unrolled into a line. (Inherited from C1.Util.DX.Direct2D.Geometry) | |

ComputePointAtLength | Overloaded. Calculates the point and tangent vector at the specified distance along the geometry after it has been transformed by the specified matrix and flattened using the specified tolerance. (Inherited from C1.Util.DX.Direct2D.Geometry) | |

Create | Creates an empty PathGeometry. | |

Dispose | Overloaded. Clean up any resources being used. (Inherited from C1.Util.DX.ComObject) | |

FillContainsPoint | Overloaded. Indicates whether the area filled by the geometry would contain the specified point given the specified flattening tolerance. (Inherited from C1.Util.DX.Direct2D.Geometry) | |

GetBounds | Overloaded. Retrieves the bounds of the geometry. (Inherited from C1.Util.DX.Direct2D.Geometry) | |

GetFactory | void ID2D1Resource::GetFactory([Out] ID2D1Factory** factory) (Inherited from C1.Util.DX.Direct2D.Resource) | |

GetFigureCount | HRESULT ID2D1PathGeometry::GetFigureCount([Out] unsigned int* count) | |

GetSegmentCount | HRESULT ID2D1PathGeometry::GetSegmentCount([Out] unsigned int* count) | |

GetWidenedBounds | Overloaded. Gets the bounds of the geometry after it has been widened by the specified stroke width and style and transformed by the specified matrix. (Inherited from C1.Util.DX.Direct2D.Geometry) | |

Open | HRESULT ID2D1PathGeometry::Open([Out] ID2D1GeometrySink** geometrySink) | |

Outline | Overloaded. Computes the outline of the geometry and writes the result to an SimplifiedGeometrySink. (Inherited from C1.Util.DX.Direct2D.Geometry) | |

QueryInterface | Overloaded. Query this instance for a particular COM GUID/interface support. (Inherited from C1.Util.DX.ComObject) | |

QueryInterfaceOrNull | Overloaded. Query instance for a particular COM GUID/interface support. (Inherited from C1.Util.DX.ComObject) | |

Simplify | Overloaded. Creates a simplified version of the geometry that contains only lines and (optionally) cubic Bezier curves and writes the result to an SimplifiedGeometrySink. (Inherited from C1.Util.DX.Direct2D.Geometry) | |

Stream | Copies the contents of the path geometry to the specified GeometrySink. | |

StrokeContainsPoint | Overloaded. Determines whether the geometry's stroke contains the specified point given the specified stroke thickness, style, and transform. (Inherited from C1.Util.DX.Direct2D.Geometry) | |

Tessellate | Overloaded. Creates a set of clockwise-wound triangles that cover the geometry after it has been transformed using the specified matrix and flattened using the specified tolerance (Inherited from C1.Util.DX.Direct2D.Geometry) | |

Widen | Overloaded. Widens the geometry by the specified stroke and writes the result to an SimplifiedGeometrySink after it has been transformed by the specified matrix and flattened using the specified tolerance. (Inherited from C1.Util.DX.Direct2D.Geometry) |

Protected Methods

Name | Description | |
---|---|---|

Finalize | Releases unmanaged resources and performs other cleanup operations before the C1.Util.DX.DisposeBase is reclaimed by garbage collection. (Inherited from C1.Util.DX.DisposeBase) | |

FromTemp | Overloaded. Initializes this instance with a pointer from a temporary object and set the pointer of the temporary object to IntPtr.Zero. (Inherited from C1.Util.DX.CppObject) | |

NativePointerUpdated | Method called when the NativePointer is updated. (Inherited from C1.Util.DX.ComObject) | |

NativePointerUpdating | Method called when NativePointer is going to be update. (Inherited from C1.Util.DX.ComObject) | |

QueryInterfaceFrom<T> | Query Interface for a particular interface support and attach to the given instance. (Inherited from C1.Util.DX.ComObject) |

Public Events

Name | Description | |
---|---|---|

Disposed | Occurs when this instance is fully disposed. (Inherited from C1.Util.DX.DisposeBase) | |

Disposing | Occurs when this instance is starting to be disposed. (Inherited from C1.Util.DX.DisposeBase) |

Public Operators

Explicit Type Conversion | Performs an explicit conversion from System.IntPtr to PathGeometry. |

See Also