GraphicsExtensionsDrawPath Method

Note: This API is now obsolete.
Draws a PathStep array.

Definition

Namespace: SMath.Drawing
Assembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.4.0.0
C#
[ObsoleteAttribute]
public static RectangleF DrawPath(
	this IGraphics g,
	ColorPen pen,
	float startX,
	float startY,
	PathStep[] steps,
	bool closed
)

Parameters

g  IGraphics
 
pen  ColorPen
 
startX  Single
 
startY  Single
 
steps  PathStep
 
closed  Boolean
 

Return Value

RectangleF

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IGraphics. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also