public final class EmfChord extends EmfDrawingRecordType
The EMR_CHORD record specifies a chord, which is a region bounded by the intersection of an ellipse and a line segment, called a secant. The chord is outlined by using the current pen and filled by using the current brush.
Constructor and Description |
---|
EmfChord()
Initializes a new instance of the
EmfChord class. |
EmfChord(EmfRecord source)
Initializes a new instance of the
EmfChord 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 bounding rectangle.
|
Point |
getEnd()
Gets or sets a 64-bit WMF PointL object that specifies the logical coordinates of the
endpoint of the radial defining the end of the chord.
|
Point |
getStart()
Gets or sets a 64-bit WMF PointL object, specified in [MS-WMF] section 2.2.2.15, which
specifies the logical coordinates of the endpoint of the radial defining the beginning of the chord.
|
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 bounding rectangle.
|
void |
setEnd(Point value)
Gets or sets a 64-bit WMF PointL object that specifies the logical coordinates of the
endpoint of the radial defining the end of the chord.
|
void |
setStart(Point value)
Gets or sets a 64-bit WMF PointL object, specified in [MS-WMF] section 2.2.2.15, which
specifies the logical coordinates of the endpoint of the radial defining the beginning of the chord.
|
public EmfChord(EmfRecord source)
Initializes a new instance of the EmfChord
class.
source
- The source.public EmfChord()
Initializes a new instance of the EmfChord
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 bounding rectangle.
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 bounding rectangle.
public Point getStart()
Gets or sets a 64-bit WMF PointL object, specified in [MS-WMF] section 2.2.2.15, which specifies the logical coordinates of the endpoint of the radial defining the beginning of the chord.
public void setStart(Point value)
Gets or sets a 64-bit WMF PointL object, specified in [MS-WMF] section 2.2.2.15, which specifies the logical coordinates of the endpoint of the radial defining the beginning of the chord.
public Point getEnd()
Gets or sets a 64-bit WMF PointL object that specifies the logical coordinates of the endpoint of the radial defining the end of the chord.
public void setEnd(Point value)
Gets or sets a 64-bit WMF PointL object that specifies the logical coordinates of the endpoint of the radial defining the end of the chord.