Class Vector2Colored

java.lang.Object
  |
  +--Vector2
        |
        +--Vector2Colored

class Vector2Colored
extends Vector2

The Vector2Colored class defines a little colored cross, to use for a star


Field Summary
(package private)  java.awt.Color fillcolor
           
 
Fields inherited from class Vector2
x, y
 
Constructor Summary
Vector2Colored()
           
Vector2Colored(Randomizer rand, double width, double height)
           
 
Method Summary
 void draw(java.awt.Graphics g, RealPixelConverter rtopc)
           
 
Methods inherited from class Vector2
add, angle, angle, copy, difference, distanceTo, dotproduct, magnitude, multiply, nonzero, normalize, product, set, set, setMagnitude, setzero, subtract, sum, toString, turn
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

fillcolor

java.awt.Color fillcolor
Constructor Detail

Vector2Colored

public Vector2Colored()

Vector2Colored

public Vector2Colored(Randomizer rand,
                      double width,
                      double height)
Method Detail

draw

public void draw(java.awt.Graphics g,
                 RealPixelConverter rtopc)