Class PenExtensions

Class PenExtensions

Namespace: Aspose.Imaging.Extensions
Assembly: Aspose.Imaging.dll (25.4.0)

Contains extension methods for Aspose.Imaging.Pen and System.Drawing.Pen.

public static class PenExtensions

Inheritance

objectPenExtensions

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Methods

ToGdiPen(Pen)

Converts the Aspose.Imaging.Pen to the System.Drawing.Pen.

public static Pen ToGdiPen(Pen pen)

Parameters

pen Pen

The Aspose.Imaging.Pen to convert.

Returns

Pen

The converted System.Drawing.Pen.