Shape class

Inheritance

Constructors

Shape(dynamic points)
Shape.fromJSON(Map<String, 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
holes List<Path>
getter/setter pair
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
uuid String
getter/setter pair
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
inherited
absellipse(dynamic aX, dynamic aY, dynamic xRadius, dynamic yRadius, dynamic aStartAngle, dynamic aEndAngle, dynamic aClockwise, dynamic aRotation) → dynamic
inherited
add(Curve curve) → dynamic
inherited
arc(dynamic aX, dynamic aY, dynamic aRadius, dynamic aStartAngle, dynamic aEndAngle, dynamic aClockwise) → dynamic
inherited
bezierCurveTo(num aCP1x, num aCP1y, num aCP2x, num aCP2y, num aX, num aY) → dynamic
inherited
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
inherited
extractPoints(dynamic divisions) Map<String, dynamic>
fromJSON(dynamic json) Curve
override
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
getPointsHoles(dynamic divisions) → dynamic
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
inherited
moveTo(num x, num y) → dynamic
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
quadraticCurveTo(num aCPx, num aCPy, num aX, num aY) → dynamic
inherited
setFromPoints(dynamic points) → dynamic
inherited
splineThru(dynamic pts) → dynamic
inherited
toJSON({Object3dMeta? meta}) → dynamic
override
toString() String
A string representation of this object.
inherited
updateArcLengths() → dynamic
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited