UpdateSubtitle

data class UpdateSubtitle(subtitleBlock: SubtitleBlock, text: String, runtime: Double) : ManimInstr

Update subtitle with text as new text

Constructors

UpdateSubtitle
Link copied to clipboard
fun UpdateSubtitle(subtitleBlock: SubtitleBlock, text: String, runtime: Double)
Create empty Update subtitle

Functions

component1
Link copied to clipboard
operator fun component1(): SubtitleBlock
component2
Link copied to clipboard
operator fun component2(): String
component3
Link copied to clipboard
operator fun component3(): Double
copy
Link copied to clipboard
fun copy(subtitleBlock: SubtitleBlock, text: String, runtime: Double): UpdateSubtitle
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

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
subtitleBlock
Link copied to clipboard
val subtitleBlock: SubtitleBlock
text
Link copied to clipboard
val text: String