ProsteThirdOrderBezierCurve class
创建并返回三阶贝塞尔曲线切割路径
- Inheritance
-
- Object
- Listenable
- CustomClipper<
Path> - ProsteThirdOrderBezierCurve
Constructors
-
ProsteThirdOrderBezierCurve({required List<
ThirdOrderBezierCurveSection> list, ClipPosition position = ClipPosition.left, bool reclip = true})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
list
↔ List<
ThirdOrderBezierCurveSection> -
绘制贝塞尔曲线数据
getter/setter pair
- position ↔ ClipPosition
-
贝塞尔曲线绘制位置
getter/setter pair
- reclip ↔ bool
-
是否重绘clip对象
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be notified when it is time to reclip.
inherited
-
getApproximateClipRect(
Size size) → Rect -
Returns an approximation of the clip returned by getClip, as
an axis-aligned Rect. This is used by the semantics layer to
determine whether widgets should be excluded.
inherited
-
getClip(
Size size) → Path -
获取三阶贝塞尔曲线路径
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that the
object notifies when it is time to reclip.
inherited
-
shouldReclip(
covariant CustomClipper< Path> oldClipper) → bool -
Called whenever a new instance of the custom clipper delegate class is
provided to the clip object, or any time that a new clip object is created
with a new instance of the custom clipper delegate class (which amounts to
the same thing, because the latter is implemented in terms of the former).
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
calcCurveDots(
ThirdOrderBezierCurveSection param) → ThirdOrderBezierCurveDots - 计算三阶贝塞尔曲线的画点数据