Constructor and Description |
---|
DXFArc(RealPoint center,
double radius,
double startAngleRadians,
double endAngleRadians,
boolean isCounterclockwise,
java.awt.Graphics2D graphics)
Create a circular arc from the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDXFHatchInfo() |
java.lang.String |
toDXFString()
Implementation of DXFObject interface method; creates DXF text representing the circular arc.
|
getDXFLineWeight
getHandle, getHandleCount
public DXFArc(RealPoint center, double radius, double startAngleRadians, double endAngleRadians, boolean isCounterclockwise, java.awt.Graphics2D graphics)
center
- Center of the circle, as a RealPointradius
- Radius of the circlestartAngleRadians
- Starting angle of the circle, in radians, counterclockwise from the positive x axisendAngleRadians
- Starting angle of the circle, in radians, counterclockwise from the positive x axisisCounterclockwise
- Indicate direction of arc, clockwise or counterclockwisegraphics
- The graphics object specifying parameters for the arc (color, thickness)public java.lang.String toDXFString()
toDXFString
in interface DXFObject
toDXFString
in class DXFCircle
public java.lang.String getDXFHatchInfo()
getDXFHatchInfo
in class DXFCircle