Class Viewer.Paint.CurveObject
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Viewer.Paint.CurveObject

Object
   |
   +----PaintObject
           |
           +----Viewer.Paint.CurveObject

public class CurveObject
extends PaintObject
This class contains methods for creating a bezier curve. This class is not ready. Only the needed functionality is implemented.
These objects can be display or image relative.
These objects can be a shutter.

Author:
Klaus Kleber
Since:
30.04.1999
See Also:
PaintObject

Variable Index

 o count

Constructor Index

 o Viewer.Paint.CurveObject()
Constucts a new object.
 o Viewer.Paint.CurveObject(boolean, int, Point2D. Float, Point2D. Float, Point2D. Float, Point2D. Float)

Method Index

 o copy()
Returns a real copy of the CurveObject.
 o drawShape(Graphics2D)
Draws the Shape of the CurveObject in the specified Graphics context.
 o getMovePaintObject(Point2D. Float)
Not implemented yet
 o getNewPaintObject()
Not implemented yet
 o getShape()
Gets the Shape of the Circle2DObject.
 o setNewPoint(Point2D. Float)
Not implemented yet

Variables

 o count
public int count

Constructors

 o CurveObject
public CurveObject()
Constucts a new object.

Since:
30.04.1999
 o CurveObject
public CurveObject(boolean isDisplayRelative,
                   int count,
                   Point2D.Float startPoint,
                   Point2D.Float point1,
                   Point2D.Float point2,
                   Point2D.Float nextPoint)

Methods

 o copy
public Viewer.Paint.PaintObject copy()
Returns a real copy of the CurveObject.

Returns:
A real copy of this CurveObject.
Overrides:
copy in class PaintObject
Since:
30.04.1999
 o drawShape
public void drawShape(Graphics2D g)
Draws the Shape of the CurveObject in the specified Graphics context.

Parameters:
g - The Graphics context in which the Shape should be drawn.
Overrides:
drawShape in class PaintObject
Since:
30.04.1999
 o getMovePaintObject
public Viewer.Paint.PaintObject getMovePaintObject(Point2D.Float nextPoint)
Not implemented yet

Overrides:
getMovePaintObject in class PaintObject
Since:
30.04.1999
 o getNewPaintObject
public Viewer.Paint.PaintObject getNewPaintObject()
Not implemented yet

Overrides:
getNewPaintObject in class PaintObject
Since:
30.04.1999
 o getShape
public java.awt.Shape getShape()
Gets the Shape of the Circle2DObject.

Returns:
The Shape of the Circle2DObject.
Overrides:
getShape in class PaintObject
Since:
30.04.1999
 o setNewPoint
public void setNewPoint(Point2D.Float newPoint)
Not implemented yet

Overrides:
setNewPoint in class PaintObject
Since:
30.04.1999

All Packages  Class Hierarchy  This Package  Previous  Next  Index