Bounds

smile.modeling.Bounds
See theBounds companion object
final case class Bounds(upperLeftCorner: Pos, lowerRightCorner: Pos)

Represents the boundaries of a rectangular area, defined by its upper left and lower right corners.

Attributes

Companion
object
Source
Bounds.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def center: Pos

Attributes

Source
Bounds.scala
def height: Double

Attributes

Source
Bounds.scala
def horizontalPositionFor(align: Horizontal, boundaryToAlign: Bounds): Double

Determines the x coordinate of the left edge of boundaryToAlign when it is aligned within these bounds.

Determines the x coordinate of the left edge of boundaryToAlign when it is aligned within these bounds.

Attributes

Source
Bounds.scala

Attributes

Source
Bounds.scala
def moveBy(xOffset: Double, yOffset: Double): Bounds

Returns these bounds moved by the specified offsets.

Returns these bounds moved by the specified offsets.

Attributes

Source
Bounds.scala

Attributes

Source
Bounds.scala
def verticalPositionFor(align: Vertical, boundaryToAlign: Bounds): Double

Determines the y coordinate of the top edge of boundaryToAlign when it is aligned within these bounds.

Determines the y coordinate of the top edge of boundaryToAlign when it is aligned within these bounds.

Attributes

Source
Bounds.scala
def width: Double

Attributes

Source
Bounds.scala

Inherited methods

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala