StreamGeometryContext Class
Describes a geometry using drawing commands. This class is used with the StreamGeometry class to create a lightweight geometry that does not support data binding, animation, or modification.
Assembly: PresentationCore (in PresentationCore.dll)
System.Windows.Threading::DispatcherObject
System.Windows.Media::StreamGeometryContext
| Name | Description | |
|---|---|---|
![]() | Dispatcher | Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.) |
| Name | Description | |
|---|---|---|
![]() | ArcTo(Point, Size, Double, Boolean, SweepDirection, Boolean, Boolean) | Draws an arc to the specified point. |
![]() | BeginFigure(Point, Boolean, Boolean) | Specifies the starting point for a new figure. |
![]() | BezierTo(Point, Point, Point, Boolean, Boolean) | Draws a Bezier curve to the specified point. |
![]() | CheckAccess() | Determines whether the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.) |
![]() | Close() | Closes this context and flushes its content so that it can be rendered. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | LineTo(Point, Boolean, Boolean) | Draws a straight line to the specified Point. |
![]() | MemberwiseClone() | |
![]() | PolyBezierTo(IList<Point>^, Boolean, Boolean) | Draws one or more connected Bezier curves. |
![]() | PolyLineTo(IList<Point>^, Boolean, Boolean) | Draws one or more connected straight lines. |
![]() | PolyQuadraticBezierTo(IList<Point>^, Boolean, Boolean) | Draws one or more connected quadratic Bezier curves. |
![]() | QuadraticBezierTo(Point, Point, Boolean, Boolean) | Draws a quadratic Bezier curve. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() | VerifyAccess() | Enforces that the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IDisposable::Dispose() | This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. |
| Exception | Condition |
|---|---|
| InvalidOperationException | An attempt was made to add a segment without starting a figure by calling the BeginFigure method. |
Available since 3.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




