toSize

open override fun toSize(): Size

Transforms this Position to a Size so if this position is Position(x=2, y=3) it will become Size(x=2, y=3).

Sources

(source)
Link copied to clipboard