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
position X
horizontal position of the background image
position Y
vertical position of the background image
size X
horizontal size of the background image
size Y
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)