public abstract class ControlCurve extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected boolean |
curveChanged |
protected Polygon |
points
The control points
|
Constructor and Description |
---|
ControlCurve() |
Modifier and Type | Method and Description |
---|---|
int |
addControlPoint(Point p)
Add a control point to the end of the list.
|
Point |
getControlPoint(int n)
Get a specified control point.
|
Polygon |
getControlPoints()
Returns the points.
|
abstract Polygon |
getCurve() |
int |
getPointCount()
Get the number of control points.
|
int |
insertControlPoint(int n,
Point p)
Insert a control point at a given location
|
void |
removeControlPoint(int n)
Remove the specified control point
|
void |
setControlPoint(int n,
Point p)
Set the specified control point
|
protected Polygon points
protected boolean curveChanged
public int addControlPoint(Point p)
public int insertControlPoint(int n, Point p)
public void setControlPoint(int n, Point p)
public void removeControlPoint(int n)
public Point getControlPoint(int n)
public int getPointCount()
public abstract Polygon getCurve()
public Polygon getControlPoints()
Copyright © 2024 levigo holding gmbh. All rights reserved.