Constructor and Description |
---|
DXFEllipse(RealPoint center,
RealPoint majorAxisEndpoint,
double axisRatio,
double startParameter,
double endParameter,
boolean isCounterclockwise,
java.awt.Graphics2D graphics)
Create an elliptical arc corresponding to 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 elliptical arc.
|
getDXFLineWeight
getHandle, getHandleCount
public DXFEllipse(RealPoint center, RealPoint majorAxisEndpoint, double axisRatio, double startParameter, double endParameter, boolean isCounterclockwise, java.awt.Graphics2D graphics)
center
- The center of the ellipsemajorAxisEndpoint
- The endpoint of the major axis, relative to the center of the ellipseaxisRatio
- The ratio between the length of the minor axis and the length of the major axisstartParameter
- Parameter t corresponding to the start point of the arc represented as (a*cos(t), b*sin(t)),
rotated so that t = 0 corresponds to the major axis endpoint.endParameter
- Parameter t corresponding to the end point of the arc represented as (a*cos(t), b*sin(t)),
rotated so that t = 0 corresponds to the major axis endpoint.isCounterclockwise
- 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 DXFEntity
public java.lang.String getDXFHatchInfo()
getDXFHatchInfo
in class DXFEntity