System::Drawing::Drawing2D::GraphicsPath::Widen method

GraphicsPath::Widen(const SharedPtr<Pen>&) method

Replaces this path with an outline around the original path.

void System::Drawing::Drawing2D::GraphicsPath::Widen(const SharedPtr<Pen> &pen)
ParameterTypeDescription
penconst SharedPtr<Pen>&A Pen object that specifies the width between the original and the new outlines

See Also

GraphicsPath::Widen(const SharedPtr<Pen>&, const MatrixPtr&) method

Replaces this path with an outline around the original path and then applies the specified transform matrix to it.

void System::Drawing::Drawing2D::GraphicsPath::Widen(const SharedPtr<Pen> &pen, const MatrixPtr &matrix)
ParameterTypeDescription
penconst SharedPtr<Pen>&A Pen object that specifies the width between the original and the new outlines
matrixconst MatrixPtr&The transform matrix to apply to the path after widening; if null, no transformation is applied

See Also