public final class EmfRectangle extends EmfDrawingRecordType
The EMR_RECTANGLE record draws a rectangle. The rectangle is outlined by using the current pen and filled by using the current brush.
The current position is neither used nor updated by Rectangle. If a PS_NULL pen is used, the dimensions of the rectangle are 1 pixel less in height and 1 pixel less in width.
EmfDrawingRecordType
Constructor and Description |
---|
EmfRectangle()
Initializes a new instance of the
EmfRectangle class. |
EmfRectangle(EmfRecord source)
Initializes a new instance of the
EmfRectangle 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.
|
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 EmfRectangle(EmfRecord source)
Initializes a new instance of the EmfRectangle
class.
source
- The source.public EmfRectangle()
Initializes a new instance of the EmfRectangle
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.
Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.