Represents the boundaries of a rectangular area, defined by its upper left and lower right corners.
Value parameters
- lowerRightCorner
-
The lower right corner position.
- upperLeftCorner
-
The upper left corner position.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object NullBounds
Members list
Value members
Concrete methods
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.
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.
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 methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Concrete fields
The center position of the bounds.
The center position of the bounds.
Attributes
The lower left corner of the bounds.
The lower left corner of the bounds.
Attributes
The upper right corner of the bounds.
The upper right corner of the bounds.