Constructor and Description |
---|
DXFEllipse(RealPoint center,
RealPoint majorAxisEndpoint,
double axisRatio,
double startParameter,
double endParameter,
Paint paint)
Create an elliptical arc corresponding to the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
String |
toDXFString()
Implementation of DXFObject interface method; creates DXF text representing the elliptical arc.
|
public DXFEllipse(RealPoint center, RealPoint majorAxisEndpoint, double axisRatio, double startParameter, double endParameter, Paint paint)
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.paint
- Android Paint object containing drawing information (color, line width, etc.)public String toDXFString()
toDXFString
in interface DXFObject