Bezier.fromCoordinates constructor
Bezier.fromCoordinates(
- Coordinate startPoint,
- Coordinate control1,
- Coordinate control2,
- Coordinate endPoint,
Implementation
factory Bezier.fromCoordinates(Coordinate startPoint, Coordinate control1, Coordinate control2, Coordinate endPoint)
{
return new Bezier(startPoint.x, startPoint.y, control1.x, control1.y, control2.x, control2.y, endPoint.x, endPoint.y);
}