|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpivot.wtk.media.drawing.Shape
pivot.wtk.media.drawing.Polygon
public class Polygon
Constructor Summary | |
---|---|
Polygon()
|
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 |
---|
public Polygon()
Method Detail |
---|
public boolean contains(int x, int y)
Shape
contains
in class Shape
public int getHeight()
Visual
public int getWidth()
Visual
public void paint(java.awt.Graphics2D graphics)
Visual
graphics
- The graphics context in which to paint the visual.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |