scalation.scala2d

Rectangle

case class Rectangle() extends Double with Product with Serializable

Convenience case class for Rectangle2D (a subclass of RectangularShape).

Linear Supertypes
Serializable, Product, Equals, Double, Serializable, Rectangle2D, RectangularShape, Cloneable, Shape, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Rectangle
  2. Serializable
  3. Product
  4. Equals
  5. Double
  6. Serializable
  7. Rectangle2D
  8. RectangularShape
  9. Cloneable
  10. Shape
  11. AnyRef
  12. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Rectangle()

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def add(arg0: Rectangle2D): Unit

    Definition Classes
    Rectangle2D
  7. def add(arg0: Point2D): Unit

    Definition Classes
    Rectangle2D
  8. def add(arg0: Double, arg1: Double): Unit

    Definition Classes
    Rectangle2D
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Definition Classes
    RectangularShape → AnyRef
  11. def contains(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean

    Definition Classes
    Rectangle2D → Shape
  12. def contains(arg0: Double, arg1: Double): Boolean

    Definition Classes
    Rectangle2D → Shape
  13. def contains(arg0: Rectangle2D): Boolean

    Definition Classes
    RectangularShape → Shape
  14. def contains(arg0: Point2D): Boolean

    Definition Classes
    RectangularShape → Shape
  15. def createIntersection(arg0: Rectangle2D): Rectangle2D

    Definition Classes
    Double → Rectangle2D
  16. def createUnion(arg0: Rectangle2D): Rectangle2D

    Definition Classes
    Double → Rectangle2D
  17. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Definition Classes
    Rectangle2D → AnyRef → Any
  19. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def getBounds(): java.awt.Rectangle

    Definition Classes
    RectangularShape → Shape
  21. def getBounds2D(): Rectangle2D

    Definition Classes
    Double → Rectangle2D → Shape
  22. def getCenterX(): Double

    Definition Classes
    RectangularShape
  23. def getCenterY(): Double

    Definition Classes
    RectangularShape
  24. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  25. def getFrame(): Rectangle2D

    Definition Classes
    RectangularShape
    Annotations
    @Transient()
  26. def getHeight(): Double

    Definition Classes
    Double → RectangularShape
  27. def getMaxX(): Double

    Definition Classes
    RectangularShape
  28. def getMaxY(): Double

    Definition Classes
    RectangularShape
  29. def getMinX(): Double

    Definition Classes
    RectangularShape
  30. def getMinY(): Double

    Definition Classes
    RectangularShape
  31. def getPathIterator(arg0: AffineTransform, arg1: Double): PathIterator

    Definition Classes
    Rectangle2D → RectangularShape → Shape
  32. def getPathIterator(arg0: AffineTransform): PathIterator

    Definition Classes
    Rectangle2D → Shape
  33. def getWidth(): Double

    Definition Classes
    Double → RectangularShape
  34. def getX(): Double

    Definition Classes
    Double → RectangularShape
  35. def getY(): Double

    Definition Classes
    Double → RectangularShape
  36. def hashCode(): Int

    Definition Classes
    Rectangle2D → AnyRef → Any
  37. def intersects(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean

    Definition Classes
    Rectangle2D → Shape
  38. def intersects(arg0: Rectangle2D): Boolean

    Definition Classes
    RectangularShape → Shape
  39. def intersectsLine(arg0: Line2D): Boolean

    Definition Classes
    Rectangle2D
  40. def intersectsLine(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean

    Definition Classes
    Rectangle2D
  41. def isEmpty(): Boolean

    Definition Classes
    Double → RectangularShape
  42. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  43. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  44. final def notify(): Unit

    Definition Classes
    AnyRef
  45. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  46. def outcode(arg0: Double, arg1: Double): Int

    Definition Classes
    Double → Rectangle2D
  47. def outcode(arg0: Point2D): Int

    Definition Classes
    Rectangle2D
  48. def setFrame(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Unit

    Definition Classes
    Rectangle2D → RectangularShape
  49. def setFrame(arg0: Rectangle2D): Unit

    Definition Classes
    RectangularShape
  50. def setFrame(arg0: Point2D, arg1: Dimension2D): Unit

    Definition Classes
    RectangularShape
  51. def setFrameFromCenter(arg0: Point2D, arg1: Point2D): Unit

    Definition Classes
    RectangularShape
  52. def setFrameFromCenter(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Unit

    Definition Classes
    RectangularShape
  53. def setFrameFromDiagonal(arg0: Point2D, arg1: Point2D): Unit

    Definition Classes
    RectangularShape
  54. def setFrameFromDiagonal(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Unit

    Definition Classes
    RectangularShape
  55. def setRect(arg0: Rectangle2D): Unit

    Definition Classes
    Double → Rectangle2D
  56. def setRect(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Unit

    Definition Classes
    Double → Rectangle2D
  57. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  58. def toString(): String

    Definition Classes
    Double → AnyRef → Any
  59. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

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