jhplot.shapes
Class Circle
- java.lang.Object
-
- jhplot.shapes.HShape
-
- jhplot.shapes.Circle
-
- All Implemented Interfaces:
- java.io.Serializable
public class Circle extends HShape
Build a circle usingHPlot
canvas. Use USER coordinate system.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description Circle(double X1, double Y1, double radius)
Build a circle using the default stroke and colorCircle(double X1, double Y1, double radius, java.awt.Stroke strock, java.awt.Color color)
Build a circle
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
doc()
Show online documentation.double
getRadius()
Get the radiusjava.lang.String
toString()
Show it as a string-
Methods inherited from class jhplot.shapes.HShape
contains, getColor, getFill, getPosition, getPositionCoordinate, getRotation, getScaledPosition, getSettings, getStroke, getTransparency, getWhoAm, setColor, setDashed, setDotted, setFill, setPosCoord, setPositionCoordinate, setRotation, setStroke, setTransparency, setWhoAm, updateSettings
-
-
-
-
Constructor Detail
-
Circle
public Circle(double X1, double Y1, double radius, java.awt.Stroke strock, java.awt.Color color)
Build a circle- Parameters:
X1
- X position of the centerY1
- Y position of the centerradius
- radiusstrock
- Stroke to draw itcolor
- Color
-
Circle
public Circle(double X1, double Y1, double radius)
Build a circle using the default stroke and color- Parameters:
X1
- X center positionY1
- Y center positionradius
- Radius
-
-
DMelt 3.0 © DataMelt by jWork.ORG