GraphicsExtensionsDrawPath Method
Note: This API is now obsolete.
Draws a PathStep array.
Namespace: SMath.DrawingAssembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.2.0
[ObsoleteAttribute]
public static RectangleF DrawPath(
this IGraphics g,
ColorPen pen,
float startX,
float startY,
PathStep[] steps,
bool closed
)
<ExtensionAttribute>
<ObsoleteAttribute>
Public Shared Function DrawPath (
g As IGraphics,
pen As ColorPen,
startX As Single,
startY As Single,
steps As PathStep(),
closed As Boolean
) As RectangleF
public:
[ExtensionAttribute]
[ObsoleteAttribute]
static RectangleF DrawPath(
IGraphics^ g,
ColorPen^ pen,
float startX,
float startY,
array<PathStep^>^ steps,
bool closed
)
[<ExtensionAttribute>]
[<ObsoleteAttribute>]
static member DrawPath :
g : IGraphics *
pen : ColorPen *
startX : float32 *
startY : float32 *
steps : PathStep[] *
closed : bool -> RectangleF
- g IGraphics
-
- pen ColorPen
-
- startX Single
-
- startY Single
-
- steps PathStep
-
- closed Boolean
-
RectangleFIn 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).