Bounds

case class Bounds(x: Double, y: Double, w: Double, h: Double, anchor: Option[Point])

A rectangle for bounding boxes

Value parameters:
anchor

an optional point termed the anchor. Certain layouts align to the anchor rather than to the edges of the bounding box

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def centerX: Double
def centerY: Double
def contains(p: Point): Boolean
def maxX: Double
def maxY: Double

Inherited methods

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