Size

final case class Size(width: Int, height: Int)
Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def *(size: Size): Size
def *(i: Int): Size
def +(size: Size): Size
def +(i: Int): Size
def -(size: Size): Size
def -(i: Int): Size
def /(size: Size): Size
def /(i: Int): Size
def abs: Size
def clamp(min: Int, max: Int): Size
def invert: Size
def max(other: Size): Size
def max(value: Int): Size
def min(other: Size): Size
def min(value: Int): Size
def resizeBy(amount: Size): Size
def resizeBy(width: Int, height: Int): Size
def withHeight(newY: Int): Size
def withWidth(newX: Int): Size

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product