Packages

c

scalation.scala2d

Rectangle

case class Rectangle() extends Double with Product with Serializable

Rectangle is a 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
Visibility
  1. Public
  2. All

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: Any): Boolean
    Definition Classes
    Rectangle2D → AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def getBounds(): java.awt.Rectangle
    Definition Classes
    RectangularShape → Shape
  19. def getBounds2D(): Rectangle2D
    Definition Classes
    Double → Rectangle2D → Shape
  20. def getCenterX(): Double
    Definition Classes
    RectangularShape
  21. def getCenterY(): Double
    Definition Classes
    RectangularShape
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  23. def getFrame(): Rectangle2D
    Definition Classes
    RectangularShape
    Annotations
    @Transient()
  24. def getHeight(): Double
    Definition Classes
    Double → RectangularShape
  25. def getMaxX(): Double
    Definition Classes
    RectangularShape
  26. def getMaxY(): Double
    Definition Classes
    RectangularShape
  27. def getMinX(): Double
    Definition Classes
    RectangularShape
  28. def getMinY(): Double
    Definition Classes
    RectangularShape
  29. def getPathIterator(arg0: AffineTransform, arg1: Double): PathIterator
    Definition Classes
    Rectangle2D → RectangularShape → Shape
  30. def getPathIterator(arg0: AffineTransform): PathIterator
    Definition Classes
    Rectangle2D → Shape
  31. def getWidth(): Double
    Definition Classes
    Double → RectangularShape
  32. def getX(): Double
    Definition Classes
    Double → RectangularShape
  33. def getY(): Double
    Definition Classes
    Double → RectangularShape
  34. def hashCode(): Int
    Definition Classes
    Rectangle2D → AnyRef → Any
  35. def intersects(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean
    Definition Classes
    Rectangle2D → Shape
  36. def intersects(arg0: Rectangle2D): Boolean
    Definition Classes
    RectangularShape → Shape
  37. def intersectsLine(arg0: Line2D): Boolean
    Definition Classes
    Rectangle2D
  38. def intersectsLine(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean
    Definition Classes
    Rectangle2D
  39. def isEmpty(): Boolean
    Definition Classes
    Double → RectangularShape
  40. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  41. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  42. final def notify(): Unit
    Definition Classes
    AnyRef
  43. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  44. def outcode(arg0: Double, arg1: Double): Int
    Definition Classes
    Double → Rectangle2D
  45. def outcode(arg0: Point2D): Int
    Definition Classes
    Rectangle2D
  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(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. 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