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.
Constructor and Description |
---|
EmfRoundRect()
Initializes a new instance of the
EmfRoundRect class. |
EmfRoundRect(EmfRecord source)
Initializes a new instance of the
EmfRoundRect class. |
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
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.
|
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.
|
public EmfRoundRect(EmfRecord source)
Initializes a new instance of the EmfRoundRect
class.
source
- The source.public EmfRoundRect()
Initializes a new instance of the EmfRoundRect
class.
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.
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.
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.
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.