ImageSource

data class ImageSource(var type: ImageSourceType, var filePath: String?)

Description of source from which the ImageRef was created.

Constructors

Link copied to clipboard
constructor(type: ImageSourceType, filePath: String?)
constructor(source: Map<String, Any?>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

File from which the ImageRef was created. Non-null only if the image ref was created from file.

Link copied to clipboard

Source type from which the ImageRef was created.

Functions

Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JsonObject
Link copied to clipboard
fun toJsonString(config: ToJsonConfiguration = ToJsonConfiguration.default()): String