GraphicsPath.Widen
Contents
[
Hide
]Widen(Pen)
Adds an additional outline to the path.
public void Widen(Pen pen)
Parameter | Type | Description |
---|---|---|
pen | Pen | A Pen that specifies the width between the original outline of the path and the new outline this method creates. |
Exceptions
exception | condition |
---|---|
NotImplementedException | Method not implemented. |
See Also
- class Pen
- class GraphicsPath
- namespace Aspose.Drawing.Drawing2D
- assembly Aspose.Drawing.Common
Widen(Pen, Matrix)
Adds an additional outline to the GraphicsPath.
public void Widen(Pen pen, Matrix matrix)
Parameter | Type | Description |
---|---|---|
pen | Pen | A Pen that specifies the width between the original outline of the path and the new outline this method creates. |
matrix | Matrix | A Matrix that specifies a transform to apply to the path before widening. |
See Also
- class Pen
- class Matrix
- class GraphicsPath
- namespace Aspose.Drawing.Drawing2D
- assembly Aspose.Drawing.Common
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)
Parameter | Type | Description |
---|---|---|
pen | Pen | A Pen that specifies the width between the original outline of the path and the new outline this method creates. |
matrix | Matrix | A Matrix that specifies a transform to apply to the path before widening. |
flatness | Single | A 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
- class Pen
- class Matrix
- class GraphicsPath
- namespace Aspose.Drawing.Drawing2D
- assembly Aspose.Drawing.Common