None

data class None(val alignment: Alignment = Alignment.Center) : Fit

Do not scale. Use the artboard's original dimensions.

For either dimension, if the artboard's dimension is larger, it will be clipped. If it is smaller, it will leave space.

Parameters

alignment

The alignment of the artboard within the containing view. Defaults to Alignment.Center.

Constructors

Link copied to clipboard
constructor(alignment: Alignment = Alignment.Center)

Properties

Link copied to clipboard
open override val alignment: Alignment
Link copied to clipboard
open val scaleFactor: Float = 1.0f

Default scale factor. Only relevant with Fit.Layout, but still passed when drawing or on pointer events.