withRelative

abstract fun withRelative(delta: Size): Size

Creates a new Size object representing a size based on this object's size but with a delta applied. This is the same as calling withRelativeXLength(delta.getXLength()).withRelativeYLength(delta.getYLength())

Sources

(source)
Link copied to clipboard