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.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(IRenderingVisitor v)
Converts this
TextElement into widget specific objects. |
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 circlepublic void accept(IRenderingVisitor v)
TextElement
into widget specific objects.accept
in interface IRenderingElement
accept
in class OvalElement
v
- Toolkit specific widget factory.Copyright © 2018. All Rights Reserved.