SvgGraphicsDrawPath Method

Draws a PathStep array.

Definition

Namespace: SMath.Drawing
Assembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.2.0
C#
public RectangleF DrawPath(
	ColorPen pen,
	PathStep[] steps,
	bool closed
)

Parameters

pen  ColorPen
ColorPen that determines the color and width of the curve.
steps  PathStep
Array of PathStep to draw.
closed  Boolean
Close the current contour. If the current point is not equal to the first point of the contour, a line segment is automatically added.

Return Value

RectangleF
Returns the bounds of the control points of the path.

Implements

IGraphicsDrawPath(ColorPen, PathStep, Boolean)

See Also