Provides factory methods for creating Bounds objects, which represent rectangular areas in a coordinate space.
Attributes
- Companion
- class
- Source
- Bounds.scala
- Graph
-
- Supertypes
- Self type
-
Bounds.type
Members list
Type members
Inherited and Abstract types
The names of the product elements.
The name of the type.
Value members
Concrete methods
Creates a Bounds instance from corner coordinates in pixels, sorting the coordinates so the upper left is at the top-left and the lower right is at the bottom-right.
Creates a Bounds instance from corner coordinates in pixels, sorting the coordinates so the upper left is at the top-left and the lower right is at the bottom-right.
Attributes
- Source
- Bounds.scala
Creates a Bounds instance from two corner positions, sorting the coordinates so the corners are the upper left and the lower right. This overload shadows the case class's own apply, which would give corners in reverse order negative dimensions.
Creates a Bounds instance from two corner positions, sorting the coordinates so the corners are the upper left and the lower right. This overload shadows the case class's own apply, which would give corners in reverse order negative dimensions.
Attributes
- Source
- Bounds.scala
Givens
Givens
Attributes
- Source
- Bounds.scala
