MoveToLine

data class MoveToLine(lineNumber: Int, pointerName: String, codeBlockName: String, codeTextVariable: String, runtime: Double) : ManimInstr

Move arrow to line lineNumber of code block

Constructors

MoveToLine
Link copied to clipboard
fun MoveToLine(lineNumber: Int, pointerName: String, codeBlockName: String, codeTextVariable: String, runtime: Double)
Create empty Move to line

Functions

component1
Link copied to clipboard
operator fun component1(): Int
component2
Link copied to clipboard
operator fun component2(): String
component3
Link copied to clipboard
operator fun component3(): String
component4
Link copied to clipboard
operator fun component4(): String
component5
Link copied to clipboard
operator fun component5(): Double
copy
Link copied to clipboard
fun copy(lineNumber: Int, pointerName: String, codeBlockName: String, codeTextVariable: String, runtime: Double): MoveToLine
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
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 override fun hashCode(): Int
toPython
Link copied to clipboard
open override fun toPython(): List<String>
Function for converting linear representation instruction to its corresponding Python instructions
toString
Link copied to clipboard
open override fun toString(): String

Properties

codeBlockName
Link copied to clipboard
val codeBlockName: String
codeTextVariable
Link copied to clipboard
val codeTextVariable: String
lineNumber
Link copied to clipboard
val lineNumber: Int
pointerName
Link copied to clipboard
val pointerName: 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
open override val runtime: Double