From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 26 Oct 2019 00:17:24 +0200 Subject: API documentation for KVision 2.0.0 --- .../-background/-init-.html | 88 ++++++++++++++++++++++ .../-background/index.html | 56 ++++++++++++++ .../-background/to-string.html | 14 ++++ 3 files changed, 158 insertions(+) create mode 100644 api1/pl.treksoft.kvision.core/-background/-init-.html create mode 100644 api1/pl.treksoft.kvision.core/-background/index.html create mode 100644 api1/pl.treksoft.kvision.core/-background/to-string.html (limited to 'api1/pl.treksoft.kvision.core/-background') diff --git a/api1/pl.treksoft.kvision.core/-background/-init-.html b/api1/pl.treksoft.kvision.core/-background/-init-.html new file mode 100644 index 00000000..c953363b --- /dev/null +++ b/api1/pl.treksoft.kvision.core/-background/-init-.html @@ -0,0 +1,88 @@ + + + +Background.<init> - kvision + + + +kvision / pl.treksoft.kvision.core / Background / <init>
+
+

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

Creates CSS Background with given parameters.

+

Parameters

+

+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

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

Creates CSS Background with given parameters.

+

Parameters

+

+color - color of the background in hex format

+

+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

+ +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.

+

Parameters

+

+color - color of the background with named constant

+

+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

+ + diff --git a/api1/pl.treksoft.kvision.core/-background/index.html b/api1/pl.treksoft.kvision.core/-background/index.html new file mode 100644 index 00000000..885627b4 --- /dev/null +++ b/api1/pl.treksoft.kvision.core/-background/index.html @@ -0,0 +1,56 @@ + + + +Background - kvision + + + +kvision / pl.treksoft.kvision.core / Background
+
+

Background

+class Background +

Type-safe definition of CSS background.

+

Constructors

+ + + + + + + +
+

<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)
+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.

+
+

Functions

+ + + + + + + +
+

toString

+
+fun toString(): String
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api1/pl.treksoft.kvision.core/-background/to-string.html b/api1/pl.treksoft.kvision.core/-background/to-string.html new file mode 100644 index 00000000..82251aa4 --- /dev/null +++ b/api1/pl.treksoft.kvision.core/-background/to-string.html @@ -0,0 +1,14 @@ + + + +Background.toString - kvision + + + +kvision / pl.treksoft.kvision.core / Background / toString
+
+

toString

+ +fun toString(): String + + -- cgit