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)

System.Object
  System.Windows.Threading.DispatcherObject
    System.Windows.Media.StreamGeometryContext

Public MustInherit Class StreamGeometryContext
	Inherits DispatcherObject
	Implements IDisposable

NameDescription
System_CAPS_pubpropertyDispatcher

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

NameDescription
System_CAPS_pubmethodArcTo(Point, Size, Double, Boolean, SweepDirection, Boolean, Boolean)

Draws an arc to the specified point.

System_CAPS_pubmethodBeginFigure(Point, Boolean, Boolean)

Specifies the starting point for a new figure.

System_CAPS_pubmethodBezierTo(Point, Point, Point, Boolean, Boolean)

Draws a Bezier curve to the specified point.

System_CAPS_pubmethodCheckAccess()

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

System_CAPS_pubmethodClose()

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

System_CAPS_pubmethodEquals(Object)

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

System_CAPS_protmethodFinalize()

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_pubmethodGetHashCode()

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

System_CAPS_pubmethodGetType()

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

System_CAPS_pubmethodLineTo(Point, Boolean, Boolean)

Draws a straight line to the specified Point.

System_CAPS_protmethodMemberwiseClone()

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

System_CAPS_pubmethodPolyBezierTo(IList(Of Point), Boolean, Boolean)

Draws one or more connected Bezier curves.

System_CAPS_pubmethodPolyLineTo(IList(Of Point), Boolean, Boolean)

Draws one or more connected straight lines.

System_CAPS_pubmethodPolyQuadraticBezierTo(IList(Of Point), Boolean, Boolean)

Draws one or more connected quadratic Bezier curves.

System_CAPS_pubmethodQuadraticBezierTo(Point, Point, Boolean, Boolean)

Draws a quadratic Bezier curve.

System_CAPS_pubmethodToString()

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

System_CAPS_pubmethodVerifyAccess()

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

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIDisposable.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.

.NET Framework
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.

Return to top
Show: