public class Bezier
extends java.lang.Object
Constructor and Description |
---|
Bezier(java.awt.geom.Point2D[] points)
Creates a new Bezier curve.
|
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Point2D |
getPoint(int i)
Returns the bezier points at position i.
|
int |
getPointCount()
Returns the number of bezier points.
|
java.awt.geom.Point2D[] |
getPoints()
Returns the calculated bezier points.
|
public Bezier(java.awt.geom.Point2D[] points)
points
- public java.awt.geom.Point2D[] getPoints()
public int getPointCount()
public java.awt.geom.Point2D getPoint(int i)
i
- Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.