Packages

object Rectangle

This perhaps should be changed to Rectangle. Some methods need renaming or possibly even deleting

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Rectangle
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(width: Double, height: Double = 1, cen: Vec2 = Vec2Z): Polygon

    Defaults to a centre of x = 0, y = 0 and then defaults to a height of 1.0.

    Defaults to a centre of x = 0, y = 0 and then defaults to a height of 1.0. Clockwise, topLeft is vertice 0.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def colouredBordered(height: Double, colour: Colour, lineWidth: Double = 1): PolyFillDraw
  8. def cross(width: Double, height: Double, barWidth: Double): Arr[Polygon]
  9. def curvedCorners(width: Double, height: Double, radius: Double, cen: Vec2 = Vec2Z): Shape
  10. def curvedCornersCentred(width: Double, height: Double, radius: Double, posn: Vec2 = Vec2Z): ShapeCentred
  11. def curvedGoldenRatio(height: Double, radius: Double, posn: Vec2 = Vec2Z): Shape
  12. def curvedGoldenRatioCentred(height: Double, radius: Double, posn: Vec2 = Vec2Z): ShapeCentred
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. def fromAxis(centreLine: Line2, height: Double): Polygon
  17. def fromBC(width: Double, height: Double, bottomCentre: Vec2 = Vec2Z): Polygon

    Measured from bottom centre

  18. def fromBL(width: Double, height: Double, v: Vec2): Polygon
  19. def fromTL(width: Double, height: Double, tlVec: Vec2 = Vec2Z): Polygon

    A rectangle measured from its top left

  20. def gRatio(height: Double): Polygon
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. val goldenRatio: Double
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def scale(widthOverHeightRatio: Double, scale: Double, cen: Vec2 = Vec2Z): Polygon
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped