Package com.valgolang.stylesheet

Types

AnimationProperties
Link copied to clipboard
open class AnimationProperties(borderColor: String?, textColor: String?, pointer: Boolean?, highlight: String?, animationStyle: String?, animationTime: Double?, render: Boolean?) : StylesheetProperty
Animation properties for when a data structure is being animated (for example, during push/pop operations on a stack)
DefaultAnimationProperties
Link copied to clipboard
data class DefaultAnimationProperties(textColor: String?, pointer: Boolean, highlight: String?, animationStyle: String?, animationTime: Double?, render: Boolean?) : AnimationProperties
Default animation properties (to fall back on if any have not been defined by the user)
DefaultStyleProperties
Link copied to clipboard
data class DefaultStyleProperties(textColor: String?, borderColor: String?) : StyleProperties
Default style properties (to fall back on if any have not been defined by the user)
PositionProperties
Link copied to clipboard
data class PositionProperties(x: Double, y: Double, width: Double, height: Double)
Position properties (to assign which area on screen an object can occupy in the final animation)
StyleProperties
Link copied to clipboard
open class StyleProperties(borderColor: String?, textColor: String?, showLabel: Boolean?, creationStyle: String?, creationTime: Double?, animate: AnimationProperties?, duration: Int?) : StylesheetProperty
Style properties for when a data structure is being created or is "at rest" on screen
Stylesheet
Link copied to clipboard
class Stylesheet(stylesheetPath: String?, symbolTableVisitor: SymbolTableVisitor)
StylesheetFromJSON
Link copied to clipboard
data class StylesheetFromJSON(codeTracking: String, hideCode: Boolean, hideVariables: Boolean, syntaxHighlightingOn: Boolean, syntaxHighlightingStyle: String, displayNewLinesInCode: Boolean, tabSpacing: Int, subtitles: StyleProperties, variables: Map<String, StyleProperties>, dataStructures: Map<String, StyleProperties>, positions: Map<String, PositionProperties>)
Stylesheet generated by parsing JSON file
StylesheetProperty
Link copied to clipboard
sealed class StylesheetProperty
Abstract stylesheet property
StylesheetValidator
Link copied to clipboard
object StylesheetValidator
Stylesheet validator that checks whether inputs to stylesheet JSON are valid and throws errors/warnings otherwise

Functions

merge
Link copied to clipboard
infix inline fun <T : Any> T.merge(other: T): T
Infix function that merges two instances of a generic class T