withWidth

abstract fun withWidth(width: Int): Size

Creates a new size based on this size, but with a different width.

Sources

(source)
Link copied to clipboard