Class sgraphics.figure.Figure
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sgraphics.figure.Figure

java.lang.Object
   |
   +----sgraphics.GlyphImpl
           |
           +----sgraphics.figure.Figure

public class Figure
extends GlyphImpl
implements FigureMode
A figure is a shape like a square, circle, etc.

Constructor Index

 o Figure()

Method Index

 o getMode()
 o getStyle()
 o position(float, float)
Returns the position of any internal structure at the given coordinates.
 o setMode(int)
 o setStyle(FigureStyle)

Constructors

 o Figure
  public Figure()

Methods

 o setStyle
  public synchronized void setStyle(FigureStyle style)
 o getStyle
  public synchronized FigureStyle getStyle()
 o setMode
  public void setMode(int mode)
 o getMode
  public int getMode()
 o position
  public int position(float x,
                      float y)
Returns the position of any internal structure at the given coordinates. The coordinates are the coordinates that a valid event would have during picking.

All Packages  Class Hierarchy  This Package  Previous  Next  Index