EmfLogPen

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.objects.EmfObject, com.aspose.imaging.fileformats.emf.emf.objects.EmfBasePen

public final class EmfLogPen extends EmfBasePen

The LogPen object defines the style, width, and color of a logical pen.

Constructors

ConstructorDescription
EmfLogPen()

Methods

MethodDescription
getPenStyle()Gets or sets a 32-bit unsigned integer that specifies the PenStyle.
setPenStyle(int value)Gets or sets a 32-bit unsigned integer that specifies the PenStyle.
getWidth()Gets or sets a WMF PointL object ([MS-WMF] section 2.2.2.15) that specifies the width of the pen by the value of its x field.
setWidth(Point value)Gets or sets a WMF PointL object ([MS-WMF] section 2.2.2.15) that specifies the width of the pen by the value of its x field.
getAffectWidth()Gets or sets the width of the affect.
setAffectWidth(int value)Gets or sets the width of the affect.
getArgb32ColorRef()Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the pen color value.
setArgb32ColorRef(int value)Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the pen color value.

EmfLogPen()

public EmfLogPen()

getPenStyle()

public int getPenStyle()

Gets or sets a 32-bit unsigned integer that specifies the PenStyle. The value MUST be defined from the PenStyle enumeration table, specified in section 2.1.25.

Returns: int

setPenStyle(int value)

public void setPenStyle(int value)

Gets or sets a 32-bit unsigned integer that specifies the PenStyle. The value MUST be defined from the PenStyle enumeration table, specified in section 2.1.25.

Parameters:

ParameterTypeDescription
valueint

getWidth()

public Point getWidth()

Gets or sets a WMF PointL object ([MS-WMF] section 2.2.2.15) that specifies the width of the pen by the value of its x field. The value of its y field MUST be ignored.

Returns: Point

setWidth(Point value)

public void setWidth(Point value)

Gets or sets a WMF PointL object ([MS-WMF] section 2.2.2.15) that specifies the width of the pen by the value of its x field. The value of its y field MUST be ignored.

Parameters:

ParameterTypeDescription
valuePoint

getAffectWidth()

public int getAffectWidth()

Gets or sets the width of the affect.

Value: The width of the affect.

Returns: int

setAffectWidth(int value)

public void setAffectWidth(int value)

Gets or sets the width of the affect.

Value: The width of the affect.

Parameters:

ParameterTypeDescription
valueint

getArgb32ColorRef()

public int getArgb32ColorRef()

Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the pen color value.

Value: The 32-bit ARGB color

Returns: int

setArgb32ColorRef(int value)

public void setArgb32ColorRef(int value)

Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the pen color value.

Value: The 32-bit ARGB color

Parameters:

ParameterTypeDescription
valueint