InitManimStack

data class InitManimStack(type: DataStructureType, ident: String, text: String, color: String?, textColor: String?, showLabel: Boolean?, creationStyle: String?, creationTime: Double?, boundaries: List<Pair<Double, Double>>, maxSize: Int, uid: String, runtime: Double, render: Boolean) : DataStructureMObject

Stack initialisation

Constructors

InitManimStack
Link copied to clipboard
fun InitManimStack(type: DataStructureType, ident: String, text: String, color: String? = null, textColor: String? = null, showLabel: Boolean? = null, creationStyle: String? = null, creationTime: Double? = null, boundaries: List<Pair<Double, Double>> = emptyList(), maxSize: Int = -1, uid: String, runtime: Double = 1.0, render: Boolean)
Create empty Init manim stack

Functions

component1
Link copied to clipboard
operator fun component1(): DataStructureType
component11
Link copied to clipboard
operator fun component11(): String
component12
Link copied to clipboard
operator fun component12(): Double
component13
Link copied to clipboard
operator fun component13(): Boolean
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(): String?
component6
Link copied to clipboard
operator fun component6(): Boolean?
component7
Link copied to clipboard
operator fun component7(): String?
component8
Link copied to clipboard
operator fun component8(): Double?
copy
Link copied to clipboard
fun copy(type: DataStructureType, ident: String, text: String, color: String? = null, textColor: String? = null, showLabel: Boolean? = null, creationStyle: String? = null, creationTime: Double? = null, boundaries: List<Pair<Double, Double>> = emptyList(), maxSize: Int = -1, uid: String, runtime: Double = 1.0, render: Boolean): InitManimStack
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getConstructor
Link copied to clipboard
open override 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 override fun hashCode(): Int
setNewBoundary
Link copied to clipboard
open override fun setNewBoundary(corners: List<Pair<Double, Double>>, newMaxSize: 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

className
Link copied to clipboard
open override val className: String
classPath
Link copied to clipboard
open override val classPath: String
color
Link copied to clipboard
val color: String? = null
creationStyle
Link copied to clipboard
val creationStyle: String? = null
creationTime
Link copied to clipboard
val creationTime: Double? = null
ident
Link copied to clipboard
open override val ident: String
pythonVariablePrefix
Link copied to clipboard
open override val pythonVariablePrefix: String
render
Link copied to clipboard
open override val render: Boolean
runtime
Link copied to clipboard
open override val runtime: Double = 1.0
showLabel
Link copied to clipboard
val showLabel: Boolean? = null
style
Link copied to clipboard
val style: PythonStyle
text
Link copied to clipboard
open override var text: String
textColor
Link copied to clipboard
val textColor: String? = null
type
Link copied to clipboard
open override val type: DataStructureType
uid
Link copied to clipboard
open override val uid: String