TreeNodeRestyle

data class TreeNodeRestyle(nodeIdent: String, styleProperties: StylesheetProperty, highlightColor: String?, animationString: String?, runtime: Double, render: Boolean) : ManimInstr

Tree node restyle

Constructors

TreeNodeRestyle
Link copied to clipboard
fun TreeNodeRestyle(nodeIdent: String, styleProperties: StylesheetProperty, highlightColor: String? = null, animationString: String? = null, runtime: Double, render: Boolean)
Create empty Tree node restyle

Functions

component1
Link copied to clipboard
operator fun component1(): String
component2
Link copied to clipboard
operator fun component2(): StylesheetProperty
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
component6
Link copied to clipboard
operator fun component6(): Boolean
copy
Link copied to clipboard
fun copy(nodeIdent: String, styleProperties: StylesheetProperty, highlightColor: String? = null, animationString: String? = null, runtime: Double, render: Boolean): TreeNodeRestyle
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

animationString
Link copied to clipboard
val animationString: String? = null
highlightColor
Link copied to clipboard
val highlightColor: String? = null
nodeIdent
Link copied to clipboard
val nodeIdent: String
render
Link copied to clipboard
open override val render: Boolean
runtime
Link copied to clipboard
open override val runtime: Double
styleProperties
Link copied to clipboard
val styleProperties: StylesheetProperty