DefaultStyleProperties

data class DefaultStyleProperties(textColor: String?, borderColor: String?) : StyleProperties

Default style properties (to fall back on if any have not been defined by the user)

Constructors

DefaultStyleProperties
Link copied to clipboard
fun DefaultStyleProperties(textColor: String? = "YELLOW", borderColor: String? = "BLUE")
Create empty Default style properties

Functions

component1
Link copied to clipboard
operator fun component1(): String?
component2
Link copied to clipboard
operator fun component2(): String?
copy
Link copied to clipboard
fun copy(textColor: String? = "YELLOW", borderColor: String? = "BLUE"): DefaultStyleProperties
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
handleColourValue
Link copied to clipboard
fun handleColourValue(color: String?): String?
Handles color value to be passed to Python
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

animate
Link copied to clipboard
val animate: AnimationProperties? = null
borderColor
Link copied to clipboard
open override var borderColor: String?
creationStyle
Link copied to clipboard
var creationStyle: String? = null
creationTime
Link copied to clipboard
var creationTime: Double? = null
duration
Link copied to clipboard
val duration: Int? = null
showLabel
Link copied to clipboard
val showLabel: Boolean? = null
textColor
Link copied to clipboard
open override var textColor: String?