pivot.wtk.media.drawing
Class Ellipse

java.lang.Object
  extended by pivot.wtk.media.drawing.Shape
      extended by pivot.wtk.media.drawing.Ellipse
All Implemented Interfaces:
Visual

public class Ellipse
extends Shape


Constructor Summary
Ellipse()
           
 
Method Summary
 boolean contains(int x, int y)
          TODO Subclasses should override this method to perform an inverse transformation and map to the untransformed coordinate space.
 int getHeight()
          Returns the visual's height.
 int getWidth()
          Returns the visual's width.
 void paint(java.awt.Graphics2D graphics)
          Paints the visual.
 
Methods inherited from class pivot.wtk.media.drawing.Shape
getBounds, getFill, getOrigin, getParent, getRotation, getScaleX, getScaleY, getStroke, getStrokeThickness, getTransform, getTranslateX, getTranslateY, getX, getY, setFill, setFill, setOrigin, setOrigin, setParent, setRotation, setScaleX, setScaleY, setStroke, setStroke, setStrokeThickness, setTranslateX, setTranslateY, setX, setY
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ellipse

public Ellipse()
Method Detail

contains

public boolean contains(int x,
                        int y)
Description copied from class: Shape
TODO Subclasses should override this method to perform an inverse transformation and map to the untransformed coordinate space.

Specified by:
contains in class Shape

getHeight

public int getHeight()
Description copied from interface: Visual
Returns the visual's height.


getWidth

public int getWidth()
Description copied from interface: Visual
Returns the visual's width.


paint

public void paint(java.awt.Graphics2D graphics)
Description copied from interface: Visual
Paints the visual.

Parameters:
graphics - The graphics context in which to paint the visual.