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
diff --git a/api/pl.treksoft.kvision.core/-background/index.html b/api/pl.treksoft.kvision.core/-background/index.html index 885627b4..890c4b09 100644 --- a/api/pl.treksoft.kvision.core/-background/index.html +++ b/api/pl.treksoft.kvision.core/-background/index.html @@ -10,6 +10,29 @@
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
-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)- Background(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)- Background(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)
-Creates CSS Background with given parameters. +Background(color: Color? = null, |