public final class EmfAngleArc extends EmfDrawingRecordType
The EMR_ANGLEARC record specifies a line segment of an arc. The line segment is drawn from the current position to the beginning of the arc. The arc is drawn along the perimeter of a circle with the given radius and center. The length of the arc is defined by the given start and sweep angles
Constructor and Description |
---|
EmfAngleArc()
Initializes a new instance of the
EmfAngleArc class. |
EmfAngleArc(EmfRecord source)
Initializes a new instance of the
EmfAngleArc class. |
Modifier and Type | Method and Description |
---|---|
Point |
getCenter()
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 circle's center.
|
int |
getRadius()
Gets or sets a 32-bit unsigned integer that specifies the circle's radius, in logical units.
|
float |
getStartAngle()
Gets or sets a 32-bit float that specifies the arc's start angle, in degrees.
|
float |
getSweepAngle()
Gets or sets a 32-bit float that specifies the arc's sweep angle, in degrees.
|
void |
setCenter(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 circle's center.
|
void |
setRadius(int value)
Gets or sets a 32-bit unsigned integer that specifies the circle's radius, in logical units.
|
void |
setStartAngle(float value)
Gets or sets a 32-bit float that specifies the arc's start angle, in degrees.
|
void |
setSweepAngle(float value)
Gets or sets a 32-bit float that specifies the arc's sweep angle, in degrees.
|
public EmfAngleArc(EmfRecord source)
Initializes a new instance of the EmfAngleArc
class.
source
- The source.public EmfAngleArc()
Initializes a new instance of the EmfAngleArc
class.
public Point getCenter()
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 circle's center.
public void setCenter(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 circle's center.
public int getRadius()
Gets or sets a 32-bit unsigned integer that specifies the circle's radius, in logical units.
public void setRadius(int value)
Gets or sets a 32-bit unsigned integer that specifies the circle's radius, in logical units.
public float getStartAngle()
Gets or sets a 32-bit float that specifies the arc's start angle, in degrees.
public void setStartAngle(float value)
Gets or sets a 32-bit float that specifies the arc's start angle, in degrees.
public float getSweepAngle()
Gets or sets a 32-bit float that specifies the arc's sweep angle, in degrees.
public void setSweepAngle(float value)
Gets or sets a 32-bit float that specifies the arc's sweep angle, in degrees.