public static class SVGwritter.Qcircle extends SVGwritter
SVGwritter.Qcircle, SVGwritter.Qline, SVGwritter.QPolarAxes, SVGwritter.QScaleBar, SVGwritter.Qtext
Modifier and Type | Field and Description |
---|---|
QColor |
colour
The colour.
|
double |
radius
The radius.
|
QColor |
strokecolour
The strokecolour.
|
double |
thickness
The thickness.
|
double |
x1
x coordinate of center.
|
double |
y1
y coordinate of center.
|
Constructor and Description |
---|
Qcircle(double x1,
double y1,
double radius)
Instantiates a new circle.
|
Modifier and Type | Method and Description |
---|---|
void |
draw(PrintWriter osw)
Write to file svg definition of frawn object.
|
writeHeader
public double x1
public double y1
public double radius
public QColor colour
public QColor strokecolour
public double thickness
public Qcircle(double x1, double y1, double radius)
x1
- the x 1y1
- the y 1radius
- the radiuspublic void draw(PrintWriter osw) throws IOException
SVGwritter
draw
in class SVGwritter
osw
- file to writeIOException
- on file errorCopyright © 2002–2019 Department of Computer Science, Warwick University. All rights reserved.