org.rubato.composer.view2d
Class Point

java.lang.Object
  extended by org.rubato.composer.view2d.Point

public class Point
extends java.lang.Object


Field Summary
 double realX
           
 double realY
           
 int screenX
           
 int screenY
           
 
Constructor Summary
Point(double x, double y, WindowConfig config)
           
 
Method Summary
 int dist2(int x, int y)
           
 void draw(java.awt.Graphics2D g)
           
 Denotator getDenotator()
           
 boolean isOn(int x, int y)
           
 void recalcScreenCoords()
           
 void recalcWorldCoords()
           
 void screenMove(int x, int y)
           
 void setColor(java.awt.Color color)
           
 void setDenotator(Denotator d)
           
 void setSize(int size)
           
 java.lang.String toString()
           
 void worldMove(double x, double y)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

realX

public double realX

realY

public double realY

screenX

public int screenX

screenY

public int screenY
Constructor Detail

Point

public Point(double x,
             double y,
             WindowConfig config)
Method Detail

setDenotator

public void setDenotator(Denotator d)

getDenotator

public Denotator getDenotator()

setColor

public void setColor(java.awt.Color color)

setSize

public void setSize(int size)

dist2

public int dist2(int x,
                 int y)

isOn

public boolean isOn(int x,
                    int y)

worldMove

public void worldMove(double x,
                      double y)

screenMove

public void screenMove(int x,
                       int y)

draw

public void draw(java.awt.Graphics2D g)

recalcScreenCoords

public void recalcScreenCoords()

recalcWorldCoords

public void recalcWorldCoords()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object