From 4ffe1bee99a55e985bb71dacff3839263cb4316f Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Tue, 3 Mar 2020 10:53:33 +0100 Subject: API Documentation for KVision 3.0.0 --- .../-background/index.html | 29 +++++++++++++++++++--- 1 file changed, 25 insertions(+), 4 deletions(-) (limited to 'api/pl.treksoft.kvision.core/-background/index.html') 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 @@

Background

class Background

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

@@ -18,10 +41,8 @@

<init>

-- cgit
-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, 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) +

Type-safe definition of CSS background.