Gradient

class Gradient : Scheme

Types

Companion
Link copied to clipboard
common
object Companion : SchemeSpec<Gradient>

Functions

colors
Link copied to clipboard
common
fun colors(colors: Iterable<Any>)
getItem
Link copied to clipboard
common
open override fun getItem(name: Name): MetaItem?
onChange
Link copied to clipboard
common
open override fun onChange(owner: Any?, action: (Name, MetaItem?, MetaItem?) -> Unit)
removeListener
Link copied to clipboard
common
open override fun removeListener(owner: Any?)
setItem
Link copied to clipboard
common
open override fun setItem(name: Name, item: MetaItem?)
toMeta
Link copied to clipboard
common
open override fun toMeta(): Laminate
typesList
Link copied to clipboard
common
fun typesList(array: Iterable<Any>)
validateItem
Link copied to clipboard
common
open fun validateItem(name: Name, item: MetaItem?): Boolean

Properties

color
Link copied to clipboard
common
val color: Color
Sets the final color of the gradient fill: the center color for radial, the right for horizontal, or the bottom for vertical.
defaultLayer
Link copied to clipboard
common
open val defaultLayer: Meta
descriptor
Link copied to clipboard
common
override var descriptor: NodeDescriptor?
type
Link copied to clipboard
common
var type: GradientType
Sets the type of gradient used to fill the markers
typesList
Link copied to clipboard
common
var typesList: List<Value>
Sets the type of gradient used to fill the markers