Packages

case class Rectangle() extends Double with Product with Serializable

Rectangle is a convenience case class for Rectangle2D (a subclass of RectangularShape).

Linear Supertypes
Product, Equals, Double, Serializable, Rectangle2D, RectangularShape, Cloneable, Shape, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Rectangle
  2. Product
  3. Equals
  4. Double
  5. Serializable
  6. Rectangle2D
  7. RectangularShape
  8. Cloneable
  9. Shape
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Rectangle()

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 add(arg0: Rectangle2D): Unit
    Definition Classes
    Rectangle2D
  5. def add(arg0: Point2D): Unit
    Definition Classes
    Rectangle2D
  6. def add(arg0: Double, arg1: Double): Unit
    Definition Classes
    Rectangle2D
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Definition Classes
    RectangularShape → AnyRef
  9. def contains(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean
    Definition Classes
    Rectangle2D → Shape
  10. def contains(arg0: Double, arg1: Double): Boolean
    Definition Classes
    Rectangle2D → Shape
  11. def contains(arg0: Rectangle2D): Boolean
    Definition Classes
    RectangularShape → Shape
  12. def contains(arg0: Point2D): Boolean
    Definition Classes
    RectangularShape → Shape
  13. def createIntersection(arg0: Rectangle2D): Rectangle2D
    Definition Classes
    Double → Rectangle2D
  14. def createUnion(arg0: Rectangle2D): Rectangle2D
    Definition Classes
    Double → Rectangle2D
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    Rectangle2D → AnyRef → Any
  17. def getBounds(): java.awt.Rectangle
    Definition Classes
    RectangularShape → Shape
  18. def getBounds2D(): Rectangle2D
    Definition Classes
    Double → Rectangle2D → Shape
  19. def getCenterX(): Double
    Definition Classes
    RectangularShape
  20. def getCenterY(): Double
    Definition Classes
    RectangularShape
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def getFrame(): Rectangle2D
    Definition Classes
    RectangularShape
    Annotations
    @Transient()
  23. def getHeight(): Double
    Definition Classes
    Double → RectangularShape
  24. def getMaxX(): Double
    Definition Classes
    RectangularShape
  25. def getMaxY(): Double
    Definition Classes
    RectangularShape
  26. def getMinX(): Double
    Definition Classes
    RectangularShape
  27. def getMinY(): Double
    Definition Classes
    RectangularShape
  28. def getPathIterator(arg0: AffineTransform, arg1: Double): PathIterator
    Definition Classes
    Rectangle2D → RectangularShape → Shape
  29. def getPathIterator(arg0: AffineTransform): PathIterator
    Definition Classes
    Rectangle2D → Shape
  30. def getWidth(): Double
    Definition Classes
    Double → RectangularShape
  31. def getX(): Double
    Definition Classes
    Double → RectangularShape
  32. def getY(): Double
    Definition Classes
    Double → RectangularShape
  33. def hashCode(): Int
    Definition Classes
    Rectangle2D → AnyRef → Any
  34. def intersects(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean
    Definition Classes
    Rectangle2D → Shape
  35. def intersects(arg0: Rectangle2D): Boolean
    Definition Classes
    RectangularShape → Shape
  36. def intersectsLine(arg0: Line2D): Boolean
    Definition Classes
    Rectangle2D
  37. def intersectsLine(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean
    Definition Classes
    Rectangle2D
  38. def isEmpty(): Boolean
    Definition Classes
    Double → RectangularShape
  39. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  40. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  41. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  42. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  43. def outcode(arg0: Double, arg1: Double): Int
    Definition Classes
    Double → Rectangle2D
  44. def outcode(arg0: Point2D): Int
    Definition Classes
    Rectangle2D
  45. def productElementNames: Iterator[String]
    Definition Classes
    Product
  46. def setFrame(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Unit
    Definition Classes
    Rectangle2D → RectangularShape
  47. def setFrame(arg0: Rectangle2D): Unit
    Definition Classes
    RectangularShape
  48. def setFrame(arg0: Point2D, arg1: Dimension2D): Unit
    Definition Classes
    RectangularShape
  49. def setFrameFromCenter(arg0: Point2D, arg1: Point2D): Unit
    Definition Classes
    RectangularShape
  50. def setFrameFromCenter(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Unit
    Definition Classes
    RectangularShape
  51. def setFrameFromDiagonal(arg0: Point2D, arg1: Point2D): Unit
    Definition Classes
    RectangularShape
  52. def setFrameFromDiagonal(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Unit
    Definition Classes
    RectangularShape
  53. def setRect(arg0: Rectangle2D): Unit
    Definition Classes
    Double → Rectangle2D
  54. def setRect(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Unit
    Definition Classes
    Double → Rectangle2D
  55. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  56. def toString(): String
    Definition Classes
    Double → AnyRef → Any
  57. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  58. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  59. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Product

Inherited from Equals

Inherited from Double

Inherited from Serializable

Inherited from Rectangle2D

Inherited from RectangularShape

Inherited from Cloneable

Inherited from Shape

Inherited from AnyRef

Inherited from Any

Ungrouped