Bounds

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

A rectangle for bounding boxes

Attributes

anchor

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

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

Members list

Concise view

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]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product