TemplateImageWithDescription

class TemplateImageWithDescription


Contains the information required to display an image on a template.

Summary

Public constructors

TemplateImageWithDescription(
    image: ImageProvider,
    description: String,
    cornerRadius: Dp
)

Public functions

open operator Boolean
equals(other: Any?)
open Int

Public properties

Dp

The image corner radius in Dp

String

The image description, usually used as alt text

ImageProvider

The image to display

Public constructors

TemplateImageWithDescription

TemplateImageWithDescription(
    image: ImageProvider,
    description: String,
    cornerRadius: Dp = 16.dp
)
Parameters
image: ImageProvider

The image to display

description: String

The image description, usually used as alt text

cornerRadius: Dp = 16.dp

The image corner radius in Dp

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

cornerRadius

Added in 1.0.0-alpha06
val cornerRadiusDp

The image corner radius in Dp

description

Added in 1.0.0-alpha06
val descriptionString

The image description, usually used as alt text

image

Added in 1.0.0-alpha06
val imageImageProvider

The image to display