EmfPlusPen

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusObject, com.aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusGraphicsObjectType

public final class EmfPlusPen extends EmfPlusGraphicsObjectType

The EmfPlusPen object specifies a graphics pen for the drawing of lines.

Constructors

ConstructorDescription
EmfPlusPen()

Methods

MethodDescription
getType()Gets or sets This field MUST be set to zero
setType(int value)Gets or sets This field MUST be set to zero
getPenData()Gets or sets an EmfPlusPenData object that specifies properties of the graphics pen
setPenData(EmfPlusPenData value)Gets or sets an EmfPlusPenData object that specifies properties of the graphics pen
getBrushObject()Gets or sets an EmfPlusBrush object that specifies a graphics brush associated with the pen
setBrushObject(EmfPlusBrush value)Gets or sets an EmfPlusBrush object that specifies a graphics brush associated with the pen

EmfPlusPen()

public EmfPlusPen()

getType()

public int getType()

Gets or sets This field MUST be set to zero

Returns: int

setType(int value)

public void setType(int value)

Gets or sets This field MUST be set to zero

Parameters:

ParameterTypeDescription
valueint

getPenData()

public EmfPlusPenData getPenData()

Gets or sets an EmfPlusPenData object that specifies properties of the graphics pen

Returns: EmfPlusPenData

setPenData(EmfPlusPenData value)

public void setPenData(EmfPlusPenData value)

Gets or sets an EmfPlusPenData object that specifies properties of the graphics pen

Parameters:

ParameterTypeDescription
valueEmfPlusPenData

getBrushObject()

public EmfPlusBrush getBrushObject()

Gets or sets an EmfPlusBrush object that specifies a graphics brush associated with the pen

Returns: EmfPlusBrush

setBrushObject(EmfPlusBrush value)

public void setBrushObject(EmfPlusBrush value)

Gets or sets an EmfPlusBrush object that specifies a graphics brush associated with the pen

Parameters:

ParameterTypeDescription
valueEmfPlusBrush