Canvas2DRenderer class

Inheritance

Constructors

Canvas2DRenderer()

Properties

ctx CanvasRenderingContext2D
getter/setter pair
display AbstractDisplay
getter/setter pairinherited
eventDispatcher EventDispatcher
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
isFocused bool
getter/setter pairinherited
lineWidthMultiple double
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
time double
getter/setter pair

Methods

applyVMobjectFill(Path2D path, VMobject vmob) → void
applyVMobjectStroke(Path2D path, VMobject vmob, {required bool background}) → void
createVMobjectGradient(VMobject vmob, List<Color> colors) CanvasGradient
getVMobjectSubpath(VMobject vmob, List<Vector3> subpath) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
renderBackground(Color backgroundColor) → void
override
renderMobject(Mobject mob) → void
override
renderMobjects(List<Mobject> mobs) → void
override
renderVMobject(VMobject vmob) → void
override
renderVMobjects(List<VMobject> vmobs) → void
override
setMatrix(double a, double b, double c, double d, double e, double f) → void
override
setup(AbstractDisplay display) → void
override
toString() String
A string representation of this object.
inherited
transformPointsPreDisplay(Mobject mob, List<Vector3> points) List<Vector3>
inherited

Operators

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