All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class lyon.Shape

java.lang.Object
   |
   +----java.util.Observable
           |
           +----futils.utils.Computation
                   |
                   +----lyon.Shape

public abstract class Shape
extends futils.utils.Computation
implements gui.Colorable

Variable Index

 o center
 o color
 o display
 o oldColor
 o p1
 o p2
 o p3
 o p4
 o pb
 o pc
 o rotation
 o shapeRadius

Constructor Index

 o Shape()

Method Index

 o dilate(double)
 o draw(Graphics)
 o fillCircle(Graphics, point, int)
 o getColor()
 o i_angle_d(double)
 o i_angle_r(double)
 o line(Graphics, point, point)
 o mouse_scale(point)
 o point_toward(double)
 o pointRotation(point)
 o pointRotation(point, point, double)
 o pointRotationdep(point)
 o popGraphicsState(Graphics)
 o print()
 o print(double)
 o print(String)
 o pushGraphicsState(Graphics)
 o r_angle_d()
 o r_angle_r()
 o round(double)
 o setColor(Color)
 o string(Graphics, String, point)
 o sx(double)
 o sy(double)

Variables

 o shapeRadius
 public static final int shapeRadius
 o color
 private java.awt.Color color
 o oldColor
 private java.awt.Color oldColor
 o p1
 lyon.point p1
 o p2
 lyon.point p2
 o p3
 lyon.point p3
 o p4
 lyon.point p4
 o pc
 lyon.point pc
 o pb
 lyon.point pb
 o center
 lyon.Xform center
 o display
 lyon.Xform display
 o rotation
 public observers.ObservableDouble rotation

Constructors

 o Shape
 public Shape()

Methods

 o pushGraphicsState
 void pushGraphicsState(java.awt.Graphics g)
 o popGraphicsState
 void popGraphicsState(java.awt.Graphics g)
 o draw
 abstract void draw(java.awt.Graphics g)
 o point_toward
 void point_toward(double theta)
 o setColor
 public void setColor(java.awt.Color c)
 o getColor
 public java.awt.Color getColor()
 o dilate
 lyon.point dilate(double t)
 o mouse_scale
 lyon.point mouse_scale(lyon.point mouse)
 o round
 int round(double d)
 o sx
 int sx(double x)
 o sy
 int sy(double y)
 o print
 void print()
 o line
 void line(java.awt.Graphics g,
           lyon.point p1,
           lyon.point p2)
 o string
 void string(java.awt.Graphics g,
             java.lang.String str,
             lyon.point p)
 o fillCircle
 void fillCircle(java.awt.Graphics g,
                 lyon.point p,
                 int radius)
 o pointRotationdep
 void pointRotationdep(lyon.point p)
 o pointRotation
 public void pointRotation(lyon.point p)
 o pointRotation
 public void pointRotation(lyon.point p,
                           lyon.point pc,
                           double theta)
 o r_angle_r
 double r_angle_r()
 o r_angle_d
 double r_angle_d()
 o i_angle_d
 double i_angle_d(double p)
 o i_angle_r
 double i_angle_r(double p)
 o print
 static void print(double d)
 o print
 static void print(java.lang.String str)

All Packages  Class Hierarchy  This Package  Previous  Next  Index