class Background
Type-safe definition of CSS background.
color
- color of the background
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
(js)
<init> |
Type-safe definition of CSS background. Background(color: Color? = null, image: ResString? = null, positionX: CssSize? = null, positionY: CssSize? = null, sizeX: CssSize? = null, sizeY: CssSize? = null, size: BgSize? = null, repeat: BgRepeat? = null, origin: BgOrigin? = null, clip: BgClip? = null, attachment: BgAttach? = null) |
(js)
toString |
fun toString(): String |