EmfStrokeAndFillPath

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.records.EmfRecord, com.aspose.imaging.fileformats.emf.emf.records.EmfDrawingRecordType

public final class EmfStrokeAndFillPath extends EmfDrawingRecordType

The EMR_STROKEANDFILLPATH record closes any open figures in a path, strokes the outline of the path by using the current pen, and fills its interior by using the current brush.

Constructors

ConstructorDescription
EmfStrokeAndFillPath(EmfRecord source)Initializes a new instance of the EmfStrokeAndFillPath class.
EmfStrokeAndFillPath()Initializes a new instance of the EmfStrokeAndFillPath class.

Methods

MethodDescription
getBounds()Gets or sets a 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the bounding rectangle, in device units.
setBounds(Rectangle value)Gets or sets a 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the bounding rectangle, in device units.

EmfStrokeAndFillPath(EmfRecord source)

public EmfStrokeAndFillPath(EmfRecord source)

Initializes a new instance of the EmfStrokeAndFillPath class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

EmfStrokeAndFillPath()

public EmfStrokeAndFillPath()

Initializes a new instance of the EmfStrokeAndFillPath class.

getBounds()

public Rectangle getBounds()

Gets or sets a 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the bounding rectangle, in device units.

Returns: Rectangle

setBounds(Rectangle value)

public void setBounds(Rectangle value)

Gets or sets a 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the bounding rectangle, in device units.

Parameters:

ParameterTypeDescription
valueRectangle