MObject

abstract class MObject : ManimInstr

Manim object instruction for creating shapes on scene

Constructors

MObject
Link copied to clipboard
fun MObject()
Create empty M object

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
getConstructor
Link copied to clipboard
abstract fun getConstructor(): String
getInstructionString
Link copied to clipboard
fun getInstructionString(instruction: String, spread: Boolean): String
Get instruction string to be played using Manim
getRuntimeString
Link copied to clipboard
fun getRuntimeString(): String
Get runtime string using runtime provided
hashCode
Link copied to clipboard
open fun hashCode(): Int
toPython
Link copied to clipboard
abstract fun toPython(): List<String>
Function for converting linear representation instruction to its corresponding Python instructions
toString
Link copied to clipboard
open fun toString(): String

Properties

className
Link copied to clipboard
abstract val className: String
classPath
Link copied to clipboard
abstract val classPath: String
ident
Link copied to clipboard
abstract val ident: String
pythonVariablePrefix
Link copied to clipboard
abstract val pythonVariablePrefix: String
render
Link copied to clipboard
open val render: Boolean = false
Boolean to express whether instruction should be rendered in animation
runtime
Link copied to clipboard
abstract val runtime: Double
Runtime of instruction in animation

Inheritors

ShapeWithBoundary
Link copied to clipboard
Rectangle
Link copied to clipboard
EmptyMObject
Link copied to clipboard
NodeStructure
Link copied to clipboard