EmfChord
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 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.
Constructors
Constructor | Description |
---|---|
EmfChord(EmfRecord source) | Initializes a new instance of the EmfChord class. |
EmfChord() | Initializes a new instance of the EmfChord class. |
Methods
Method | Description |
---|---|
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. |
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. |
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. |
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. |
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. |
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. |
EmfChord(EmfRecord source)
public EmfChord(EmfRecord source)
Initializes a new instance of the EmfChord
class.
Parameters:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The source. |
EmfChord()
public EmfChord()
Initializes a new instance of the EmfChord
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 bounding rectangle.
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 bounding rectangle.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Rectangle |
getStart()
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.
Returns: Point
setStart(Point value)
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.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Point |
getEnd()
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.
Returns: Point
setEnd(Point value)
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.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Point |