ListPrepend

data class ListPrepend(arrayIdent: String, newArrayIdent: String, text: String, values: Array<ExecValue>, color: String?, textColor: String?, creationString: String?, showLabel: Boolean?, boundaries: List<Pair<Double, Double>>, runtime: Double, render: Boolean, uid: String) : ManimInstr, ManimInstrWithBoundary

List prepend

Constructors

ListPrepend
Link copied to clipboard
fun ListPrepend(arrayIdent: String, newArrayIdent: String, text: String, values: Array<ExecValue>, color: String?, textColor: String?, creationString: String?, showLabel: Boolean? = null, boundaries: List<Pair<Double, Double>> = emptyList(), runtime: Double, render: Boolean, uid: String)
Create empty List prepend

Functions

component1
Link copied to clipboard
operator fun component1(): String
component10
Link copied to clipboard
operator fun component10(): Double
component11
Link copied to clipboard
operator fun component11(): Boolean
component12
Link copied to clipboard
operator fun component12(): String
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(): Array<ExecValue>
component5
Link copied to clipboard
operator fun component5(): String?
component6
Link copied to clipboard
operator fun component6(): String?
component7
Link copied to clipboard
operator fun component7(): String?
component8
Link copied to clipboard
operator fun component8(): Boolean?
component9
Link copied to clipboard
operator fun component9(): List<Pair<Double, Double>>
copy
Link copied to clipboard
fun copy(arrayIdent: String, newArrayIdent: String, text: String, values: Array<ExecValue>, color: String?, textColor: String?, creationString: String?, showLabel: Boolean? = null, boundaries: List<Pair<Double, Double>> = emptyList(), runtime: Double, render: Boolean, uid: String): ListPrepend
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
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

arrayIdent
Link copied to clipboard
val arrayIdent: String
boundaries
Link copied to clipboard
var boundaries: List<Pair<Double, Double>>
color
Link copied to clipboard
val color: String?
creationString
Link copied to clipboard
var creationString: String?
newArrayIdent
Link copied to clipboard
val newArrayIdent: String
render
Link copied to clipboard
open override val render: Boolean
runtime
Link copied to clipboard
open override val runtime: Double
showLabel
Link copied to clipboard
val showLabel: Boolean? = null
style
Link copied to clipboard
val style: PythonStyle
text
Link copied to clipboard
val text: String
textColor
Link copied to clipboard
val textColor: String?
uid
Link copied to clipboard
open override val uid: String
values
Link copied to clipboard
val values: Array<ExecValue>