From 4ffe1bee99a55e985bb71dacff3839263cb4316f Mon Sep 17 00:00:00 2001
From: Robert Jaros Creates CSS Background with given parameters.
-
-
-
-
-
-
-
-
- Creates CSS Background with given parameters.
-
-
-
-
-
-
-
-
-
- Creates CSS Background with given parameters. Type-safe definition of CSS background.
-
<init>
-
-Background(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)
-Parameters
-
-positionX - horizontal position of the background imagepositionY - vertical position of the background imagesizeX - horizontal size of the background imagesizeY - vertical size of the background imagesize - resize of the background imagerepeat - repeat option of the background imageorigin - origin option of the background imageclip - clipping option of the background imageattachment - attachment option of the background imageBackground(color: Int, 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)
-Parameters
-color - color of the background in hex formatpositionX - horizontal position of the background imagepositionY - vertical position of the background imagesizeX - horizontal size of the background imagesizeY - vertical size of the background imagesize - resize of the background imagerepeat - repeat option of the background imageorigin - origin option of the background imageclip - clipping option of the background imageattachment - attachment option of the background imageBackground(color: Col, 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)
-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)
+Parameters
color - color of the background with named constantcolor - color of the background