Size

indigo.shared.datatypes.Size
See theSize companion object
final case class Size(width: Int, height: Int)

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def %(pt: Size): Size
def %(i: Int): Size
def %(d: Double): Size
def *(size: Size): Size
def *(i: Int): Size
def *(d: Double): Size
def +(size: Size): Size
def +(i: Int): Size
def +(d: Double): Size
def -(size: Size): Size
def -(i: Int): Size
def -(d: Double): Size
def /(size: Size): Size
def /(i: Int): Size
def /(d: Double): 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 toPoint: Point
def withHeight(newY: Int): Size
def withWidth(newX: Int): Size

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product