de.esw.eengine.renderable.primitive
Class Rectangle

java.lang.Object
  extended by de.esw.eengine.renderable.primitive.Rectangle
All Implemented Interfaces:
IRenderPrimitive

public class Rectangle
extends java.lang.Object
implements IRenderPrimitive

Since:
1.0
Version:
$Id: Rectangle.java 73 2005-06-16 20:45:35Z markusw $
Author:
markusw

Constructor Summary
Rectangle(int x, int y, int width, int height)
           
Rectangle(int x, int y, int width, int height, java.awt.Color borderColor)
           
Rectangle(int x, int y, int width, int height, java.awt.Color borderColor, java.awt.Color fillColor)
           
 
Method Summary
 void render(java.awt.Graphics2D g)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rectangle

public Rectangle(int x,
                 int y,
                 int width,
                 int height)
Parameters:
x -
y -
width -
height -

Rectangle

public Rectangle(int x,
                 int y,
                 int width,
                 int height,
                 java.awt.Color borderColor)
Parameters:
x -
y -
width -
height -
borderColor -

Rectangle

public Rectangle(int x,
                 int y,
                 int width,
                 int height,
                 java.awt.Color borderColor,
                 java.awt.Color fillColor)
Parameters:
x -
y -
width -
height -
borderColor -
fillColor -
Method Detail

render

public void render(java.awt.Graphics2D g)
Specified by:
render in interface IRenderPrimitive
Parameters:
g - Graphics to render on
See Also:
IRenderPrimitive.render(java.awt.Graphics2D)