Skip to main content
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.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

Inheritance Hierarchy

public abstract class StreamGeometryContext : DispatcherObject, 
public ref class StreamGeometryContext abstract : DispatcherObject, 
type StreamGeometryContext = 
        inherit DispatcherObject
        interface IDisposable
Public MustInherit Class StreamGeometryContext
	Inherits DispatcherObject
	Implements IDisposable

Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.)

System_CAPS_pubmethod ArcTo

Draws an arc to the specified point.

System_CAPS_pubmethod BeginFigure

Specifies the starting point for a new figure.

System_CAPS_pubmethod BezierTo

Draws a Bezier curve to the specified point.

System_CAPS_pubmethod CheckAccess

Determines whether the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.)

System_CAPS_pubmethod Close

Closes this context and flushes its content so that it can be rendered.

System_CAPS_pubmethod Equals

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethod Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethod GetHashCode

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethod GetType

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethod LineTo

Draws a straight line to the specified Point.

System_CAPS_protmethod MemberwiseClone

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethod PolyBezierTo

Draws one or more connected Bezier curves.

System_CAPS_pubmethod PolyLineTo

Draws one or more connected straight lines.

System_CAPS_pubmethod PolyQuadraticBezierTo

Draws one or more connected quadratic Bezier curves.

System_CAPS_pubmethod QuadraticBezierTo

Draws a quadratic Bezier curve.

System_CAPS_pubmethod ToString

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethod VerifyAccess

Enforces that the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.)

Explicit Interface Implementations
System_CAPS_pubinterface System_CAPS_privmethod IDisposableDispose

This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

Exception Condition

An attempt was made to add a segment without starting a figure by calling the BeginFigure method.

Version Information
.NET Framework
Available since 3.0
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top