SVGPathMobject class

Inheritance
Implementers

Properties

backgroundStrokeColors List<Color>?
getter/setter pairinherited
backgroundStrokeWidth double
getter/setter pairinherited
closeNewPoints bool
getter/setter pairinherited
color Color
getter/setter pairinherited
currentPathStart Vector3?
getter/setter pair
fillColors List<Color>?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
length int
no setterinherited
makeSmoothAfterApplyingFunctions bool
getter/setter pairinherited
name String
getter/setter pairinherited
nPointsPerCurve int
getter/setter pairinherited
pathString String
getter/setter pair
points List<Vector3>
getter/setter pairinherited
preFunctionHandleToAnchorScaleFactor double
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strokeColors List<Color>?
getter/setter pairinherited
strokeWidth double
getter/setter pairinherited
submobjects List<Mobject>
getter/setter pairinherited
target Mobject?
getter/setter pairinherited
toleranceForPointEquality double
getter/setter pairinherited
updaters List<Updater>
getter/setter pairinherited
updatingSuspended bool
getter/setter pairinherited

Methods

add(List<Mobject> mobjects) → void
inherited
addCubicBezierCurve(Vector3 anchor1, Vector3 handle1, Vector3 handle2, Vector3 anchor2) → void
inherited
addCubicBezierCurveTo(Vector3 handle1, Vector3 handle2, Vector3 anchor) → void
inherited
addLineTo(Vector3 pt) → void
inherited
addNMoreSubmobjects(int n) → void
inherited
addPointsAsCorners(List<Vector3> points) → void
inherited
addQuadraticBezierCurveTo(Vector3 handle, Vector3 anchor) → void
inherited
addSmoothCurveTo(Vector3 anchorOrHandle, [Vector3? maybeAnchor]) → void
inherited
addSubpath(List<Vector3> points) → void
inherited
addToBack(List<Mobject> mobjects) → void
inherited
addToFront(List<Mobject> mobjects) → void
inherited
addUpdater(Updater updater, {int? index, bool callUpdater = true}) → void
inherited
alignColors(VMobject vmob) → void
inherited
alignData(Mobject mob) → void
inherited
alignOnBorder(Vector3 direction, {double? buffer}) → void
inherited
alignPoints(Mobject mob) → void
inherited
alignPointsWithLarger(Mobject largerMob) → void
inherited
alignSubmobjects(Mobject mob2) → void
inherited
alignToMobject(Mobject mob, {Vector3? direction}) → void
inherited
alignToPoint(Vector3 point, {Vector3? direction}) → void
inherited
appendPoints(List<Vector3> pts) → void
inherited
appendVectorizedMobject(VMobject mob) → void
inherited
applyComplexFunction(Complex func(Complex)) → void
inherited
applyFunction(Vector3 func(Vector3)) → void
inherited
applyMatrix(Array mat) → void
inherited
applyOverPoints({required Vector3 func(Vector3), Vector3? aboutPoint, Vector3 aboutEdge = ORIGIN}) → void
inherited
applyToFamily(Mobject func(Mobject), {bool useFamilyWithPoints = true}) → void
inherited
arrange({Vector3 direction = RIGHT, bool center = true, double buffer = DEFAULT_MOBJECT_TO_MOBJECT_BUFFER, Vector3 alignedEdge = ORIGIN, Vector3 coordinateMask = const Vector3(1, 1, 1)}) → void
inherited
arrangeInGrid({int? numRows, int? numCols, bool center = true, double buffer = DEFAULT_MOBJECT_TO_MOBJECT_BUFFER, Vector3 alignedEdge = ORIGIN, Vector3 coordinateMask = const Vector3(1, 1, 1)}) → void
inherited
become(Mobject mob, {bool copySubmobjects = true}) → void
inherited
becomePartial(Mobject mob, double a, double b) → void
inherited
center({Vector3 mask = const Vector3(1, 1, 1)}) → void
inherited
centerOnXAxis() → void
inherited
centerOnYAxis() → void
inherited
centerOnZAxis() → void
inherited
changeAnchorMode(String mode) → void
inherited
clearPoints() → void
inherited
clearUpdaters({bool recursive = true}) → void
inherited
closePath() → void
inherited
considerPointsEquals(Vector3 a, Vector3 b) bool
inherited
considerPointsEquals2D(Vector3 a, Vector3 b) bool
inherited
copy() SVGPathMobject
override
createGroup<MobjectType extends Mobject>(List<MobjectType> mobs) Mobject
inherited
fade({double darkness = 0.5, bool family = true}) → void
inherited
fadeTo(Color color, double alpha, {bool family = true}) → void
inherited
flip({Vector3 axis = UP, Vector3? aboutPoint, Vector3 aboutEdge = ORIGIN}) → void
inherited
genCubicBezierTuplesFromPoints(List<Vector3> points) List<BezierTuple>
inherited
generatePoints() → void
override
generateTarget() Mobject
inherited
getAllPoints() List<Vector3>
inherited
getAnchors() List<Vector3>
inherited
getAnchorsAndHandles() List<List<Vector3>>
inherited
getArcLength({int? numSamplePoints}) double
inherited
getBottom() Vector3
inherited
getBoundaryPoint(Vector3 direction) Vector3
inherited
getCenter() Vector3
inherited
getCenterOfMass() Vector3
inherited
getColor({bool stroke = false, bool backgroundStroke = false}) Color
inherited
getCoord(int dim, {Vector3? direction}) double
inherited
getCorner(Vector3 corner) Vector3
inherited
getCriticalPoint(Vector3 direction) Vector3
inherited
getCubicBezierTuples() List<BezierTuple>
inherited
getCubicBezierTuplesFromPoints(List<Vector3> points) List<BezierTuple>
inherited
getDashed({int numDashes = 15, double positiveSpaceRatio = 0.5, Color? color}) DashedVMobject
inherited
getDepth() double
inherited
getEdgeCenter(Vector3 edge) Vector3
inherited
getEnd() Vector3
inherited
getEndAnchors() List<Vector3>
inherited
getExtremumAlongDim({List<Vector3>? points, int dim = 0, int key = 0}) double
inherited
getFamily() List<Mobject>
inherited
getFamilyUpdaters() List<Updater>
inherited
getFamilyWithPoints() List<Mobject>
inherited
getFillColor() Color
inherited
getFillColors() List<Color>
inherited
getGradientStartAndEndPoints() Tuple2<Vector3, Vector3>
inherited
getHeight() double
inherited
getLastPoint() Vector3
inherited
getLeft() Vector3
inherited
getNadir() Vector3
inherited
getName() String
inherited
getNthCurveFunction(int n) Vector3 Function(double)
inherited
getNthCurvePoints(int n) List<Vector3>
inherited
getNumCurves() int
inherited
getNumPoints() int
inherited
getOriginalPathString() String
getPathCommands() List<String>
getPieces(int numPieces) Group
inherited
getPointMobject({Vector3? center}) VectorizedPoint
inherited
getPoints() List<Vector3>
inherited
getPointsDefiningBoundary() List<Vector3>
inherited
getPos({Vector3? direction}) Vector3
inherited
getRight() Vector3
inherited
getStart() Vector3
inherited
getStartAnchors() List<Vector3>
inherited
getStartAndEnd() Tuple2<Vector3, Vector3>
inherited
getStrokeColor({bool background = false}) Color
inherited
getStrokeColors({bool background = false}) List<Color>
inherited
getStrokeWidth({bool background = false}) double
inherited
getStyle() VMobjectStyle
inherited
getSubcurve(double a, double b) VMobject
inherited
getSubpaths() List<SubPath>
inherited
getSubpathsFromPoints(List<Vector3> points) List<SubPath>
inherited
getSubpathsFromPoints2D(List<Vector3> points) List<SubPath>
inherited
getTop() Vector3
inherited
getUpdaters() List<Updater>
inherited
getVectorizedFamily() List<VMobject>
inherited
getWidth() double
inherited
getX({Vector3? direction}) double
inherited
getY({Vector3? direction}) double
inherited
getZ({Vector3? direction}) double
inherited
getZenith() Vector3
inherited
getZIndexReferencePoint() Vector3
inherited
handleCommand(String command, String coordString, [String prevCommand = '']) → void
hasNewPathStarted() bool
inherited
hasNoPoints() bool
inherited
hasPoints() bool
inherited
hasUpdaters() bool
inherited
initColors() → void
inherited
insertNCurves(int n) → void
inherited
insertNCurvesToPointList(int n, List<Vector3> points) List<Vector3>
inherited
interpolate(Mobject a, Mobject b, double alpha, {PathFunc? pathFunc}) → void
inherited
interpolateColor(Mobject _mob1, Mobject _mob2, double alpha) → void
inherited
isClosed() bool
inherited
isInside(Vector3 pt, {double buff = SMALL_BUFFER}) bool
inherited
isOffScreen() bool
inherited
lengthOverDim(int dim) double
inherited
makeJagged() → void
inherited
makeSmooth() → void
inherited
matchColor(Mobject mob) → void
inherited
matchCoord(Mobject mob, int dim, {Vector3? direction}) → void
inherited
matchDepth(Mobject mob, {Vector3 aboutEdge = ORIGIN, Vector3? aboutPoint, bool stretch = false}) → void
inherited
matchDimSize(Mobject mob, int dim, {Vector3 aboutEdge = ORIGIN, Vector3? aboutPoint, bool stretch = false}) → void
inherited
matchHeight(Mobject mob, {Vector3 aboutEdge = ORIGIN, Vector3? aboutPoint, bool stretch = false}) → void
inherited
matchStyle(VMobject vmob, {bool family = true}) → void
inherited
matchUpdaters(Mobject mob) → void
inherited
matchWidth(Mobject mob, {Vector3 aboutEdge = ORIGIN, Vector3? aboutPoint, bool stretch = false}) → void
inherited
matchX(Mobject mob, {Vector3? direction}) → void
inherited
matchY(Mobject mob, {Vector3? direction}) → void
inherited
matchZ(Mobject mob, {Vector3? direction}) → void
inherited
moveToMobject(Mobject target, {Vector3? alignedEdge, Vector3? coordinateMask}) → void
inherited
moveToPoint(Vector3 target, {Vector3? alignedEdge, Vector3? coordinateMask}) → void
inherited
nextToMobject(Mobject mobject, {Vector3 direction = RIGHT, double buffer = DEFAULT_MOBJECT_TO_MOBJECT_BUFFER, Vector3 alignedEdge = ORIGIN, Vector3 coordinateMask = const Vector3(1, 1, 1)}) → void
inherited
nextToPoint(Vector3 targetPoint, {Vector3 direction = RIGHT, double buffer = DEFAULT_MOBJECT_TO_MOBJECT_BUFFER, Vector3 alignedEdge = ORIGIN, Vector3 coordinateMask = const Vector3(1, 1, 1)}) → void
inherited
nonEmptySubmobjects() List<Mobject>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
nullPointAlign(Mobject m2) → void
inherited
pointFromProportion(double alpha) Vector3
inherited
pointwiseBecomePartial(Mobject mob, double a, double b) → void
inherited
pushSelfIntoSubmobjects() → void
inherited
putStartAndEndOn(Vector3 start, Vector3 end) → void
inherited
remove(List<Mobject> mobjects) → void
inherited
removeUpdater(Updater updater) → void
inherited
repeat(int count) → void
inherited
replace(Mobject mob, {int dimToMatch = 0, bool stretch = false}) → void
inherited
rescaleToFit(double length, int dim, {bool stretch = false, Vector3 aboutEdge = ORIGIN, Vector3? aboutPoint}) → void
inherited
resetPoints() → void
inherited
resumeUpdating({bool recursive = true}) → void
inherited
reversePoints() → void
inherited
reverseSubmobjects({bool recursive = false}) → void
inherited
rotate(double angle, {Vector3 axis = OUT, Vector3? aboutPoint, Vector3 aboutEdge = ORIGIN}) → void
inherited
rotateAboutOrigin(double angle, {Vector3 axis = OUT}) → void
inherited
scale(Vector3 scaleFactor, {Vector3? aboutPoint, Vector3 aboutEdge = ORIGIN}) → void
inherited
scaleHandleToAnchorDistances(double factor) → void
inherited
scaleUniformly(double scaleFactor, {Vector3? aboutPoint, Vector3 aboutEdge = ORIGIN}) → void
inherited
setAnchorsAndHandles(List<Vector3> anchor1, List<Vector3> handle1, List<Vector3> handle2, List<Vector3> anchor2) → void
inherited
setBackgroundStroke({Color? color, List<Color>? colors, double? width, bool family = true}) → void
inherited
setColor({required Color color, bool family = true}) → void
inherited
setColorByGradient(List<Color> colors) → void
inherited
setColorByRadialGradient({Vector3? center, double? radius, required Color innerColor, required Color outerColor}) → void
inherited
setCoord(double value, int dim, {Vector3? direction}) → void
inherited
setDepth(double depth, {bool stretch = false, Vector3? aboutPoint, Vector3 aboutEdge = ORIGIN}) → void
inherited
setFill({Color? color, List<Color>? colors, bool family = true}) → void
inherited
setHeight(double height, {bool stretch = false, Vector3? aboutPoint, Vector3 aboutEdge = ORIGIN}) → void
inherited
setPoints(List<Vector3> points) → void
inherited
setPointsAsCorners(List<Vector3> points) → void
inherited
setPointsSmoothly(List<Vector3> points) → void
inherited
setStroke({Color? color, List<Color>? colors, double? width, bool background = false, bool family = true}) → void
inherited
setStyle({Color? fillColor, List<Color>? fillColors, Color? strokeColor, List<Color>? strokeColors, double? strokeWidth, Color? backgroundStrokeColor, List<Color>? backgroundStrokeColors, double? backgroundStrokeWidth, bool family = true}) → void
inherited
setStyleFromVMobjectStyle(VMobjectStyle style, {bool family = true}) → void
inherited
setSubmobjectColorsByGradient(List<Color> colors) → void
inherited
setSubmobjectColorsByRadialGradient({Vector3? center, double? radius, required Color innerColor, required Color outerColor}) → void
inherited
setWidth(double width, {bool stretch = false, Vector3? aboutPoint, Vector3 aboutEdge = ORIGIN}) → void
inherited
setX(double x, {Vector3? direction}) → void
inherited
setY(double y, {Vector3? direction}) → void
inherited
setZ(double z, {Vector3? direction}) → void
inherited
shift(Vector3 delta) → void
inherited
shiftOntoScreen({double? buffer}) → void
inherited
shuffle({bool recursive = false}) → void
inherited
sort({double pointToNumFunc(Vector3)?, double keyFunc(Mobject)?}) → void
inherited
spaceOutSubmobjects({double factor = 1.5, Vector3 aboutEdge = ORIGIN, Vector3? aboutPoint}) → void
inherited
split() List<Mobject>
inherited
startNewPath(Vector3 pt) → void
inherited
stretch(double scaleFactor, int dim, {Vector3? aboutPoint, Vector3 aboutEdge = ORIGIN}) → void
inherited
stretchToFitDepth(double depth, {Vector3? aboutPoint, Vector3 aboutEdge = ORIGIN}) → void
inherited
stretchToFitHeight(double height, {Vector3? aboutPoint, Vector3 aboutEdge = ORIGIN}) → void
inherited
stretchToFitWidth(double width, {Vector3? aboutPoint, Vector3 aboutEdge = ORIGIN}) → void
inherited
stringToPoints({required String command, required bool isRelative, required String coordString, required Vector3 startPoint}) List<Vector3>
surround(Mobject mob, {int dimToMatch = 0, bool stretch = false, double? buffer}) → void
inherited
suspendUpdating({bool recursive = true}) → void
inherited
throwErrorIfNoPoints(String? method) → void
inherited
toCorner({Vector3 corner = DL, double buffer = DEFAULT_MOBJECT_TO_EDGE_BUFFER}) → void
inherited
toEdge({Vector3 edge = LEFT, double buffer = DEFAULT_MOBJECT_TO_EDGE_BUFFER}) → void
inherited
toOriginalColor() → void
inherited
toString() String
A string representation of this object.
inherited
update({double dt = 0, bool recursive = true}) → void
inherited
wag({Vector3 direction = RIGHT, Vector3 axis = DOWN, double wagFactor = 1.0}) → void
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](int i) Mobject
inherited