Pattern

@Serializable
data class Pattern(val document: DocumentFile, val fill: BackgroundFill, val intensity: Progress, val isInverted: Boolean = false, val isMoving: Boolean = false) : BackgroundType.WithDocument, BackgroundType.Fillable, BackgroundType.Movable

Constructors

Link copied to clipboard
constructor(document: DocumentFile, fill: BackgroundFill, intensity: Progress, isInverted: Boolean = false, isMoving: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@SerialName(value = "document")
open override val document: DocumentFile
Link copied to clipboard
@SerialName(value = "fill")
open override val fill: BackgroundFill
Link copied to clipboard
@SerialName(value = "intensity")
@Serializable(with = IntProgress100Serializer::class)
val intensity: Progress
Link copied to clipboard
@SerialName(value = "is_inverted")
val isInverted: Boolean = false
Link copied to clipboard
@SerialName(value = "is_moving")
open override val isMoving: Boolean = false
Link copied to clipboard
@EncodeDefault
@SerialName(value = "type")
open override val type: String