Rectangle

indigo.shared.datatypes.Rectangle
See theRectangle companion class
object Rectangle

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Rectangle.type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(x: Int, y: Int, width: Int, height: Int): Rectangle
def apply(width: Int, height: Int): Rectangle
def apply(size: Size): Rectangle
def contract(rectangle: Rectangle, amount: Int): Rectangle
def encompassing(a: Rectangle, b: Rectangle): Boolean
def expand(rectangle: Rectangle, amount: Int): Rectangle
def fromIncircle(circle: Circle): Rectangle
def fromPoints(pt1: Point, pt2: Point): Rectangle
def fromPoints(pt1: Point, pt2: Point, pt3: Point): Rectangle
def fromPoints(pt1: Point, pt2: Point, pt3: Point, pt4: Point): Rectangle
def overlapping(a: Rectangle, b: Rectangle): Boolean
def overlapping(a: Rectangle, b: Circle): Boolean

Deprecated methods

def fromTwoPoints(pt1: Point, pt2: Point): Rectangle

Attributes

Deprecated
true

Concrete fields

val one: Rectangle

Givens

Givens

given given_CanEqual_Option_Option: CanEqual[Option[Rectangle], Option[Rectangle]]