de.esw.eengine.renderable.primitive
Class Ellipse
java.lang.Object
de.esw.eengine.renderable.primitive.Ellipse
- All Implemented Interfaces:
- IRenderPrimitive
public class Ellipse
- extends java.lang.Object
- implements IRenderPrimitive
- Since:
- 1.0
- Version:
- $Id: Ellipse.java 159 2005-07-06 07:00:49Z markusw $
- Author:
- markusw
|
Constructor Summary |
Ellipse(int x,
int y,
int r,
java.awt.Color borderColor)
Draws a circle |
Ellipse(int x,
int y,
int r,
java.awt.Color borderColor,
java.awt.Color fillColor)
Draws a circle |
Ellipse(int x,
int y,
int width,
int height,
java.awt.Color borderColor)
|
Ellipse(int x,
int y,
int width,
int height,
java.awt.Color borderColor,
java.awt.Color fillColor)
|
|
Method Summary |
void |
render(java.awt.Graphics2D graphics)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Ellipse
public Ellipse(int x,
int y,
int r,
java.awt.Color borderColor)
- Draws a circle
- Parameters:
x - X coordinate of the center of the Circley - Y coordinate of the center of the Circler - Radius of the circleborderColor - Color for this Ellipse
Ellipse
public Ellipse(int x,
int y,
int r,
java.awt.Color borderColor,
java.awt.Color fillColor)
- Draws a circle
- Parameters:
x - X coordinate of the center of the Circley - Y coordinate of the center of the Circler - Radius of the circleborderColor - Color for this EllipsefillColor - Color to fill this Ellipse with
Ellipse
public Ellipse(int x,
int y,
int width,
int height,
java.awt.Color borderColor)
- Parameters:
x - Left coordinate of the bounding rectangle for this
Ellipsey - Top coordinate of the bounding rectangle for this
Ellipsewidth - Width of the bounding rectangle for this Ellipseheight - Height of the bounding rectangle for this EllipseborderColor - Color for this Ellipse
Ellipse
public Ellipse(int x,
int y,
int width,
int height,
java.awt.Color borderColor,
java.awt.Color fillColor)
- Parameters:
x - Left coordinate of the bounding rectangle for this
Ellipsey - Top coordinate of the bounding rectangle for this
Ellipsewidth - Width of the bounding rectangle for this Ellipseheight - Height of the bounding rectangle for this EllipseborderColor - Color for this EllipsefillColor - Color to fill this Ellipse with
render
public void render(java.awt.Graphics2D graphics)
- Specified by:
render in interface IRenderPrimitive
- Parameters:
graphics - Graphics to render on- See Also:
IRenderPrimitive.render(java.awt.Graphics2D)