ShapeWithBoundary

abstract class ShapeWithBoundary(uid: String) : MObject, ManimInstrWithBoundary

Shape with boundary - has a unique id and style

Constructors

ShapeWithBoundary
Link copied to clipboard
fun ShapeWithBoundary(uid: String)
Create empty Shape with boundary

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
getConstructor
Link copied to clipboard
abstract 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 fun hashCode(): Int
setNewBoundary
Link copied to clipboard
abstract fun setNewBoundary(corners: List<Pair<Double, Double>>, newMaxSize: Int)
toPython
Link copied to clipboard
abstract fun toPython(): List<String>
Function for converting linear representation instruction to its corresponding Python instructions
toString
Link copied to clipboard
open fun toString(): String

Properties

className
Link copied to clipboard
abstract val className: String
classPath
Link copied to clipboard
abstract val classPath: String
ident
Link copied to clipboard
abstract val ident: String
pythonVariablePrefix
Link copied to clipboard
abstract val pythonVariablePrefix: 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
abstract val runtime: Double
Runtime of instruction in animation
style
Link copied to clipboard
val style: PythonStyle
uid
Link copied to clipboard
open override val uid: String

Inheritors

DataStructureMObject
Link copied to clipboard
CodeBlock
Link copied to clipboard
SubtitleBlock
Link copied to clipboard
VariableBlock
Link copied to clipboard