NullBounds

smile.modeling.NullBounds
object NullBounds extends Bounds

Represents a special Bounds instance that effectively has no size and no position.

Attributes

Graph
Supertypes
class Bounds
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
NullBounds.type

Members list

Value members

Inherited methods

inline def horizontalPositionFor(alignment: HorizontalAlignment, boundaryToBeAligned: Bounds): Double

Determines the horizontal position for alignment within these bounds.

Determines the horizontal position for alignment within these bounds.

Value parameters

alignment

The horizontal alignment.

boundaryToBeAligned

The bounds to be aligned.

Attributes

Returns

The horizontal position for the specified alignment.

Inherited from:
Bounds
inline def moveBy(xOffset: Double, yOffset: Double): Bounds

Moves the bounds by the specified offsets.

Moves the bounds by the specified offsets.

Value parameters

xOffset

The horizontal offset.

yOffset

The vertical offset.

Attributes

Returns

A new Bounds instance moved by the specified offsets.

Inherited from:
Bounds
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def verticalPositionFor(alignment: VerticalAlignment, boundaryToBeAligned: Bounds): Double

Determines the vertical position for alignment within these bounds.

Determines the vertical position for alignment within these bounds.

Value parameters

alignment

The vertical alignment.

boundaryToBeAligned

The bounds to be aligned.

Attributes

Returns

The vertical position for the specified alignment.

Inherited from:
Bounds

Concrete fields

final lazy override val height: Len

The height of the bounds.

The height of the bounds.

Attributes

final lazy override val width: Len

The width of the bounds.

The width of the bounds.

Attributes

Inherited fields

lazy val center: Pos

The center position of the bounds.

The center position of the bounds.

Attributes

Inherited from:
Bounds
lazy val lowerLeftCorner: Pos

The lower left corner of the bounds.

The lower left corner of the bounds.

Attributes

Inherited from:
Bounds
lazy val upperRightCorner: Pos

The upper right corner of the bounds.

The upper right corner of the bounds.

Attributes

Inherited from:
Bounds