twaver
Class PathSegment.QuadSegment
java.lang.Object
twaver.PathSegment
twaver.PathSegment.QuadSegment
- All Implemented Interfaces:
- IStruct, ISerializable
- Enclosing class:
- PathSegment
public static class PathSegment.QuadSegment
- extends PathSegment
路径片段,对应路径绘制的Path#quadTo(float, float, float, float)
方法
Methods inherited from class twaver.PathSegment |
clone, deserialize, draw, equals, getControlPoint, getFirstPoint, getLength, getPoint, getReversePath, isCurve, scale, serialize, set, translate |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PathSegment.QuadSegment
public PathSegment.QuadSegment()
- 构造函数
PathSegment.QuadSegment
public PathSegment.QuadSegment(double x1,
double y1)
- 构造函数
- Parameters:
x1
- 曲线路径点x坐标y1
- 曲线路径点y坐标
PathSegment.QuadSegment
public PathSegment.QuadSegment(double x1,
double y1,
double x2,
double y2)
- 构造函数
- Parameters:
x1
- 曲线路径点x坐标y1
- 曲线路径点y坐标x2
- 曲线第二点x坐标y2
- 曲线第二点y坐标