@TestClass(value="org.openscience.cdk.renderer.elements.RingElementTest") public class RingElement extends OvalElement implements IRenderingElement
Constructor and Description |
---|
RingElement(double x,
double y,
double radius,
Color color)
Make a ring element centered on (x, y) with radius and color given.
|
@TestMethod(value="testConstructor") public RingElement(double x, double y, double radius, Color color)
x
- the x-coordinate of the ring centery
- the y-coordinate of the ring centerradius
- the radius of the circlecolor
- the color of the circle@TestMethod(value="testAccept") public void accept(IRenderingVisitor v)
TextElement
into widget specific objects.accept
in interface IRenderingElement
accept
in class OvalElement
v
- Toolkit specific widget factory.