EmfRoundRect

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 EmfRoundRect extends EmfDrawingRecordType

The EMR_ROUNDRECT record specifies a rectangle with rounded corners. The rectangle is outlined by using the current pen and filled by using the current brush.

Constructors

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

Methods

MethodDescription
getBox()Gets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the inclusive-inclusive rectangle to draw.
setBox(Rectangle value)Gets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the inclusive-inclusive rectangle to draw.
getCorner()Gets or sets a 64-bit WMF SizeL object, specified in [MS-WMF] section 2.2.2.22, which specifies the width and height, in logical coordinates, of the ellipse used to draw the rounded corners.
setCorner(Size value)Gets or sets a 64-bit WMF SizeL object, specified in [MS-WMF] section 2.2.2.22, which specifies the width and height, in logical coordinates, of the ellipse used to draw the rounded corners.

EmfRoundRect(EmfRecord source)

public EmfRoundRect(EmfRecord source)

Initializes a new instance of the EmfRoundRect class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

EmfRoundRect()

public EmfRoundRect()

Initializes a new instance of the EmfRoundRect class.

getBox()

public Rectangle getBox()

Gets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the inclusive-inclusive rectangle to draw.

Returns: Rectangle

setBox(Rectangle value)

public void setBox(Rectangle value)

Gets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the inclusive-inclusive rectangle to draw.

Parameters:

ParameterTypeDescription
valueRectangle

getCorner()

public Size getCorner()

Gets or sets a 64-bit WMF SizeL object, specified in [MS-WMF] section 2.2.2.22, which specifies the width and height, in logical coordinates, of the ellipse used to draw the rounded corners.

Returns: Size

setCorner(Size value)

public void setCorner(Size value)

Gets or sets a 64-bit WMF SizeL object, specified in [MS-WMF] section 2.2.2.22, which specifies the width and height, in logical coordinates, of the ellipse used to draw the rounded corners.

Parameters:

ParameterTypeDescription
valueSize