pivot.wtk.media
Class Drawing

java.lang.Object
  extended by pivot.wtk.media.Image
      extended by pivot.wtk.media.Drawing
All Implemented Interfaces:
Visual

public class Drawing
extends Image

Image representing a vector drawing.

Author:
gbrown

Nested Class Summary
 
Nested classes/interfaces inherited from class pivot.wtk.media.Image
Image.LoadTask
 
Constructor Summary
Drawing()
           
 
Method Summary
 int getHeight()
          Returns the visual's height.
 Group getShapes()
           
 int getWidth()
          Returns the visual's width.
 void paint(java.awt.Graphics2D graphics)
          Paints the visual.
 
Methods inherited from class pivot.wtk.media.Image
getSize, load, load
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Drawing

public Drawing()
Method Detail

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.

getShapes

public Group getShapes()