Path class
Constructors
- Path(dynamic points)
- Path.fromJSON(dynamic json)
Properties
- arcLengthDivisions ↔ num
-
getter/setter pairinherited
- autoClose ↔ bool
-
getter/setter pairinherited
-
cacheArcLengths
↔ List<
num> ? -
getter/setter pairinherited
-
cacheLengths
↔ List<
num> ? -
getter/setter pairinherited
- currentPoint ↔ Vector2
-
getter/setter pairinherited
-
curves
↔ List<
Curve> -
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCubicBezierCurve ↔ bool
-
getter/setter pairinherited
- isEllipseCurve ↔ bool
-
getter/setter pairinherited
- isLineCurve ↔ bool
-
getter/setter pairinherited
- isLineCurve3 ↔ bool
-
getter/setter pairinherited
- isQuadraticBezierCurve ↔ bool
-
getter/setter pairinherited
- isSplineCurve ↔ bool
-
getter/setter pairinherited
- needsUpdate ↔ bool
-
getter/setter pairinherited
- points ↔ List
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ String
-
getter/setter pairinherited
-
userData
↔ Map<
String, dynamic> -
getter/setter pairinherited
- v0 ↔ Vector2
-
getter/setter pairinherited
- v1 ↔ Vector2
-
getter/setter pairinherited
- v2 ↔ Vector2
-
getter/setter pairinherited
Methods
-
absarc(
dynamic aX, dynamic aY, dynamic aRadius, dynamic aStartAngle, dynamic aEndAngle, dynamic aClockwise) → dynamic -
absellipse(
dynamic aX, dynamic aY, dynamic xRadius, dynamic yRadius, dynamic aStartAngle, dynamic aEndAngle, dynamic aClockwise, dynamic aRotation) → dynamic -
add(
Curve curve) → dynamic -
inherited
-
arc(
dynamic aX, dynamic aY, dynamic aRadius, dynamic aStartAngle, dynamic aEndAngle, dynamic aClockwise) → dynamic -
bezierCurveTo(
num aCP1x, num aCP1y, num aCP2x, num aCP2y, num aX, num aY) → dynamic -
clone(
) → dynamic -
inherited
-
closePath(
) → dynamic -
inherited
-
computeFrenetFrames(
dynamic segments, dynamic closed) → dynamic -
inherited
-
copy(
dynamic source) → dynamic -
override
-
ellipse(
dynamic aX, dynamic aY, dynamic xRadius, dynamic yRadius, dynamic aStartAngle, dynamic aEndAngle, dynamic aClockwise, dynamic aRotation) → dynamic -
fromJSON(
dynamic json) → Curve -
inherited
-
getCurveLengths(
) → List< num> -
inherited
-
getLength(
) → dynamic -
inherited
-
getLengths(
dynamic divisions) → dynamic -
inherited
-
getPoint(
num t, dynamic optionalTarget) → dynamic -
inherited
-
getPointAt(
dynamic u, dynamic optionalTarget) → dynamic -
inherited
-
getPoints(
[num divisions = 12]) → List -
inherited
-
getSpacedPoints(
[num divisions = 40, num offset = 0.0]) → dynamic -
inherited
-
getTangent(
dynamic t, [dynamic optionalTarget]) → dynamic -
inherited
-
getTangentAt(
dynamic u, dynamic optionalTarget) → dynamic -
inherited
-
getUtoTmapping(
dynamic u, [dynamic distance]) → dynamic -
inherited
-
lineTo(
num x, num y) → dynamic -
moveTo(
num x, num y) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
quadraticCurveTo(
num aCPx, num aCPy, num aX, num aY) → dynamic -
setFromPoints(
dynamic points) → dynamic -
splineThru(
dynamic pts) → dynamic -
toJSON(
) → dynamic -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
updateArcLengths(
) → dynamic -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited