Background

class Background(color: Color? = null, image: ResString? = null, positionX: <Error class: unknown class><Number, UNIT>? = null, positionY: <Error class: unknown class><Number, UNIT>? = null, sizeX: <Error class: unknown class><Number, UNIT>? = null, sizeY: <Error class: unknown class><Number, UNIT>? = null, size: BgSize? = null, repeat: BgRepeat? = null, origin: BgOrigin? = null, clip: BgClip? = null, attachment: BgAttach? = null)

Type-safe definition of CSS background.

Parameters

color

color of the background

image

background image

positionX

horizontal position of the background image

positionY

vertical position of the background image

sizeX

horizontal size of the background image

sizeY

vertical size of the background image

size

resize of the background image

repeat

repeat option of the background image

origin

origin option of the background image

clip

clipping option of the background image

attachment

attachment option of the background image

Constructors

Link copied to clipboard
constructor(color: Color? = null, image: ResString? = null, positionX: <Error class: unknown class><Number, UNIT>? = null, positionY: <Error class: unknown class><Number, UNIT>? = null, sizeX: <Error class: unknown class><Number, UNIT>? = null, sizeY: <Error class: unknown class><Number, UNIT>? = null, size: BgSize? = null, repeat: BgRepeat? = null, origin: BgOrigin? = null, clip: BgClip? = null, attachment: BgAttach? = null)

Functions

Link copied to clipboard
open override fun toString(): String