Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
C
D
G
H
M
N
P
R
S
T
U
C
clear()
- Method in class tools.
SimpleDrawPad
clears the drawing area.
D
down()
- Method in class tools.
SimplePlotter
downs the plotter virtual pen
down()
- Method in class tools.
DrawPadPlotter
downs the plotter virtual pen
down()
- Method in interface tools.
Plotter
downs the plotter virtual pen
draw(SimpleDrawPad)
- Method in class tools.
Shape
draws this shape on a drawing pad
drawLine(int, int, int, int)
- Method in class tools.
SimpleDrawPad
draws a line between two points.
DrawPadPlotter
- class tools.
DrawPadPlotter
.
DrawPadPlotter()
- Constructor for class tools.
DrawPadPlotter
Creates new DrawPadPlotter
drawPoint(int, int)
- Method in class tools.
SimpleDrawPad
draws a point.
G
getColorBlueComponent()
- Method in class tools.
Shape
gets the blue component of the color of this shape.
getColorGreenComponent()
- Method in class tools.
Shape
gets the green component of the color of this shape.
getColorRedComponent()
- Method in class tools.
Shape
gets the red component of the color of this shape.
getCurrentPosition()
- Method in class tools.
SimplePlotter
returns current position of the pen.
getCurrentPosition()
- Method in class tools.
DrawPadPlotter
returns current X position of the pen.
getCurrentPosition()
- Method in interface tools.
Plotter
returns current position of the pen.
getThickness()
- Method in class tools.
Shape
gets the thickness of this shape.
getX()
- Method in class tools.
Point
get the x coordinate of this point
getY()
- Method in class tools.
Point
get the y coordinate of this point
H
hide()
- Method in class tools.
SimpleDrawPad
hides this pad.
M
moveTo(Point)
- Method in class tools.
SimplePlotter
moves the pen from current position to a new position.
moveTo(Point)
- Method in class tools.
DrawPadPlotter
move the pen from current position to pos position.
moveTo(Point)
- Method in interface tools.
Plotter
moves the pen from current position to pos position.
N
next()
- Method in interface tools.
PointGenerator
gets next point value.
P
Plotter
- interface tools.
Plotter
.
A Plotter Interface provides services to move a pen on a 2D space [(-1..1),(-1..1)]. the pen can be up or down, meaning simple moving or drawing.
Point
- class tools.
Point
.
A Point represents a point in a 2D space.
Point(float, float)
- Constructor for class tools.
Point
Creates new Point
PointGenerator
- interface tools.
PointGenerator
.
Any object implementing PointGenerator Interface must be able to generate a stream of Points.
R
reset()
- Method in interface tools.
PointGenerator
resets the machine, getting the first (point) value.
S
setCurrentColor(float, float, float)
- Method in class tools.
SimpleDrawPad
sets the current color used to draw shapes.
setCurrentThickness(int)
- Method in class tools.
SimpleDrawPad
sets the current thickness used to draw shapes.
Shape
- class tools.
Shape
.
Base class for concrete shapes.
Shape(float, float, float, int)
- Constructor for class tools.
Shape
constructs a shape providing color components (red,green,blue) and the thickness.
show()
- Method in class tools.
SimpleDrawPad
shows this pad on the screen.
SimpleDrawPad
- class tools.
SimpleDrawPad
.
SimpleDrawPad objects are windows able to draw line and point of different color and thickness.
SimpleDrawPad()
- Constructor for class tools.
SimpleDrawPad
SimplePlotter
- class tools.
SimplePlotter
.
SimplePlotter(int, int)
- Constructor for class tools.
SimplePlotter
T
tools
- package tools
toString()
- Method in class tools.
Point
U
up()
- Method in class tools.
SimplePlotter
ups the plotter virtual pen.
up()
- Method in class tools.
DrawPadPlotter
ups the plotter virtual pen.
up()
- Method in interface tools.
Plotter
ups the plotter virtual pen.
C
D
G
H
M
N
P
R
S
T
U
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES