public class Circle extends HShape
Constructor and Description |
---|
Circle(double X1,
double Y1,
double radius)
Build a circle using the default stroke and color
|
Circle(double X1,
double Y1,
double radius,
Stroke strock,
Color color)
Build a circle
|
Modifier and Type | Method and Description |
---|---|
void |
doc()
Show online documentation.
|
double |
getRadius()
Get the radius
|
String |
toString()
Show it as a string
|
contains, getColor, getFill, getPosition, getPositionCoordinate, getRotation, getScaledPosition, getSettings, getStroke, getTransparency, getWhoAm, setColor, setDashed, setDotted, setFill, setPosCoord, setPositionCoordinate, setRotation, setStroke, setTransparency, setWhoAm, updateSettings
public Circle(double X1, double Y1, double radius, Stroke strock, Color color)
X1
- X position of the centerY1
- Y position of the centerradius
- radiusstrock
- Stroke to draw itcolor
- Colorpublic Circle(double X1, double Y1, double radius)
X1
- X center positionY1
- Y center positionradius
- RadiusJas4pp 1.5 © Java Analysis Studio for Particle Physics