SizeTransform

interface SizeTransform

How an AnimatedContent container's size animates from the initial content's size to the target content's size.

The animation clips content outside its animated size when clip is true. When false, content may paint beyond that size, subject to clipping by its Swing ancestors.

Properties

Link copied to clipboard
abstract val clip: Boolean

Whether content is clipped to the animated size.

Functions

Link copied to clipboard
abstract fun createAnimationSpec(initialSize: Dimension, targetSize: Dimension): FiniteAnimationSpec<Dimension>

Creates the size animation spec.