kvision / pl.treksoft.kvision.html / Image / <init>

<init>

Image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf())

Parameters

src - image URL

alt - alternative text

responsive - determines if the image is rendered as responsive

shape - image shape

centered - determines if the image is rendered centered

classes - a set of CSS class names

Constructor