Constructor and Description |
---|
DXFArc(RealPoint center,
float radius,
double startAngle,
double endAngle,
Paint paint)
Create a circular arc from the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
String |
toDXFString()
Implementation of DXFObject interface method; creates DXF text representing the circular arc.
|
public DXFArc(RealPoint center, float radius, double startAngle, double endAngle, Paint paint)
center
- Center of the circle, as a RealPointradius
- Radius of the circlestartAngle
- Starting angle of the circle, in radians, counterclockwise from the positive x axisendAngle
- Starting angle of the circle, in radians, counterclockwise from the positive x axispaint
- The graphical Paint object specifying parameters for the arc (color, thickness)public String toDXFString()
toDXFString
in interface DXFObject