pivot.wtk.media.drawing
Class Clone

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

public class Clone
extends Shape

Shape representing a copy of another shape.

Author:
gbrown

Constructor Summary
Clone()
           
 
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.
 Shape getSource()
           
 int getWidth()
          Returns the visual's width.
 void paint(java.awt.Graphics2D graphics)
          Paints the visual.
 void setSource(Shape source)
           
 
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

Clone

public Clone()
Method Detail

getSource

public Shape getSource()

setSource

public void setSource(Shape source)

getWidth

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


getHeight

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


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.

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