프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$color | Color of curve. | ||
$control | array | Control point. | |
$point1 | array | Starting point. | |
$point2 | array | End point. |
메소드 | 설명 | |
---|---|---|
__construct ( array $point1, array $control, array $point2, |
Creates a quadratic bezier. Quadratic bezier has 1 control point. | |
getColor ( ) : |
||
getControl ( ) : array | ||
getPoint1 ( ) : array | ||
getPoint2 ( ) : array |
public __construct ( array $point1, array $control, array $point2, |
||
$point1 | array | Array of X and Y value for start point. |
$control | array | Array of X and Y value for control point. |
$point2 | array | Array of X and Y value for end point. |
$color | Color of the curve. Accepts hex string or a Color object. Defaults to black. |