GraphicsPath.Widen

Widen(Pen)

Adds an additional outline to the path.

public void Widen(Pen pen)
ParameterTypeDescription
penPenA Pen that specifies the width between the original outline of the path and the new outline this method creates.

Exceptions

exceptioncondition
NotImplementedExceptionMethod not implemented.

See Also


Widen(Pen, Matrix)

Adds an additional outline to the GraphicsPath.

public void Widen(Pen pen, Matrix matrix)
ParameterTypeDescription
penPenA Pen that specifies the width between the original outline of the path and the new outline this method creates.
matrixMatrixA Matrix that specifies a transform to apply to the path before widening.

See Also


Widen(Pen, Matrix, float)

Replaces this GraphicsPath with curves that enclose the area that is filled when this path is drawn by the specified pen.

public void Widen(Pen pen, Matrix matrix, float flatness)
ParameterTypeDescription
penPenA Pen that specifies the width between the original outline of the path and the new outline this method creates.
matrixMatrixA Matrix that specifies a transform to apply to the path before widening.
flatnessSingleA value that specifies the flatness for curves.

Remarks

MS System.Drawing implementation calls Flatten() inside Widen() or uses the same algorithm. Aspose.Drawing implementation uses Skia algorithm without replacement the curves to line segments. It ignores the flatness parameter.

See Also