LayoutLine

class LayoutLine : Scheme, Line

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion : SchemeSpec<LayoutLine>

Properties

Link copied to clipboard
open override val color: Color

Sets the line color.

Link copied to clipboard
var dash: Dash

Sets the style of the lines.

Link copied to clipboard
override var descriptor: MetaDescriptor?
Link copied to clipboard
override val meta: ObservableMutableMeta
Link copied to clipboard

Determines the line shape. With "spline" the lines are drawn using spline interpolation. The other available values correspond to step-wise line shapes. Default: "linear"

Link copied to clipboard

Sets the amount of smoothing for the contour lines, where "0" corresponds to no smoothing. Default: 1.

Link copied to clipboard
open override var width: Number

Sets the line width (in px). Default: 2.

Link copied to clipboard
open override var widthList: List<Number>

Sets the width (in px) of the lines bounding the marker points.

Functions

Link copied to clipboard
fun Scheme.color(key: Name? = null): ReadOnlyProperty<Scheme, Color>
Link copied to clipboard
open operator override fun get(name: Name): MutableMeta?
Link copied to clipboard
open override fun getValue(name: Name): Value?
Link copied to clipboard
fun Scheme.numberGreaterThan(minValue: Number, default: Number = minValue, key: Name? = null): ReadWriteProperty<Any?, Number>

A safe Number ray

Link copied to clipboard
fun Scheme.numberInRange(range: ClosedRange<Double>, key: Name? = null): ReadWriteProperty<Any?, Number>

A safe Number range

Link copied to clipboard
open operator override fun set(name: Name, node: Meta?)
Link copied to clipboard
open override fun setValue(name: Name, value: Value?)
Link copied to clipboard
fun Scheme.toJsonString(): String

Convert any type-safe configurator to json string

Link copied to clipboard
open override fun toMeta(): Laminate
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open fun validate(name: Name, meta: Meta?): Boolean