Companion object for the Rect trait contains factory methods for the Rect trait which delegate to the RectGen class.
Attributes
Members list
Type members
Classlikes
General implementation class for Rect, a rectangle aligned to the X and Y axes.
General implementation class for Rect, a rectangle aligned to the X and Y axes.
Attributes
- Companion
- object
- Supertypes
-
trait Recttrait ShapeOrdinaledtrait OrdinaledElemtrait Rectangularligntrait OrdinalEdgePointstrait Rectangletrait Quadrilateraltrait Polygon4Plustrait Polygon3Plustrait Polygontrait PolygonBase[Pt2]trait VertSeqSpec[Pt2]trait Equalstrait ShapeCentredtrait CentredElemtrait WithCentretrait Shapetrait BoundedElemtrait Fillabletrait Drawabletrait Aff2Elemtrait Simil2Elemtrait Axlign2Elemclass Objecttrait Matchableclass AnyShow all
Companion object for the Rect.RectGen class.
Companion object for the Rect.RectGen class.
Attributes
Value members
Concrete methods
Factory apply method for a rectangle aligned with the X and Y axes. Default height is 1 and default centre point is at x = 0, y = 0. There is a name overload that takes the X and Y centre coordinates as Doubles.
Factory apply method for a rectangle aligned with the X and Y axes. Default height is 1 and default centre point is at x = 0, y = 0. There is a name overload that takes the X and Y centre coordinates as Doubles.
Attributes
Factory apply method for a rectangle aligned with the X and Y axes. There is a name overload that has a default height of 1 and takes a Pt2 centre point parameter wth a default of x = 0, y = 0.
Factory apply method for a rectangle aligned with the X and Y axes. There is a name overload that has a default height of 1 and takes a Pt2 centre point parameter wth a default of x = 0, y = 0.
Attributes
Factory method for Rect from width, height and the bottomCentre position parameters. The default position for the bottomCentre parameter places the bottom centre of the Rect at the origin.
Factory method for Rect from width, height and the bottomCentre position parameters. The default position for the bottomCentre parameter places the bottom centre of the Rect at the origin.
Attributes
Factory method for Rect from width, height and the bottomLeft position parameters. The default position for the bottomLeft parameter places the bottom left vertex of the Rect at the origin.
Factory method for Rect from width, height and the bottomLeft position parameters. The default position for the bottomLeft parameter places the bottom left vertex of the Rect at the origin.
Attributes
Factory method for Rect from width, height and the bottomLeft position parameters. The default position for the bottomLeft parameter places the bottom left vertex of the Rect at the origin.
Factory method for Rect from width, height and the bottomLeft position parameters. The default position for the bottomLeft parameter places the bottom left vertex of the Rect at the origin.
Attributes
Factory method for Rect from width, height and the topLeft position parameters. The default position for the bottomRight parameter places the bottom right vertex of the Rect at the origin.
Factory method for Rect from width, height and the topLeft position parameters. The default position for the bottomRight parameter places the bottom right vertex of the Rect at the origin.
Attributes
Factory method to create a Rect from the centre point and the v0 point. The v0 point or vertex is y convention the top left vertex of the rectangle, but any of the 4 corner vertices will give the correct constructor values.
Factory method to create a Rect from the centre point and the v0 point. The v0 point or vertex is y convention the top left vertex of the rectangle, but any of the 4 corner vertices will give the correct constructor values.
Attributes
Factory method for Rect from width, height and the topLeft position parameters. The default position for the topLeft parameter places the top left vertex of the Rect at the origin.
Factory method for Rect from width, height and the topLeft position parameters. The default position for the topLeft parameter places the top left vertex of the Rect at the origin.
Attributes
Factory method for Rect from width, height and the topLeft position parameters.
Factory method for Rect from width, height and the topLeft position parameters.
Attributes
Factory method for Rect from width, height and the topRight position parameters. The default position for the topLeft parameter places the top right vertex of the Rect at the origin.
Factory method for Rect from width, height and the topRight position parameters. The default position for the topLeft parameter places the top right vertex of the Rect at the origin.
Attributes
Givens
Givens
Implicits
Implicits
The implicit DefaultValue type class instance / evidence for Rect is the NoBounds object.
The implicit DefaultValue type class instance / evidence for Rect is the NoBounds object.