case class Rectangle() extends Double with Product with Serializable
Rectangle
is a convenience case class for Rectangle2D
(a subclass of
RectangularShape
).
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Rectangle
- Serializable
- Product
- Equals
- Double
- Serializable
- Rectangle2D
- RectangularShape
- Cloneable
- Shape
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Rectangle()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
add(arg0: Rectangle2D): Unit
- Definition Classes
- Rectangle2D
-
def
add(arg0: Point2D): Unit
- Definition Classes
- Rectangle2D
-
def
add(arg0: Double, arg1: Double): Unit
- Definition Classes
- Rectangle2D
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Definition Classes
- RectangularShape → AnyRef
-
def
contains(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean
- Definition Classes
- Rectangle2D → Shape
-
def
contains(arg0: Double, arg1: Double): Boolean
- Definition Classes
- Rectangle2D → Shape
-
def
contains(arg0: Rectangle2D): Boolean
- Definition Classes
- RectangularShape → Shape
-
def
contains(arg0: Point2D): Boolean
- Definition Classes
- RectangularShape → Shape
-
def
createIntersection(arg0: Rectangle2D): Rectangle2D
- Definition Classes
- Double → Rectangle2D
-
def
createUnion(arg0: Rectangle2D): Rectangle2D
- Definition Classes
- Double → Rectangle2D
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- Rectangle2D → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getBounds(): java.awt.Rectangle
- Definition Classes
- RectangularShape → Shape
-
def
getBounds2D(): Rectangle2D
- Definition Classes
- Double → Rectangle2D → Shape
-
def
getCenterX(): Double
- Definition Classes
- RectangularShape
-
def
getCenterY(): Double
- Definition Classes
- RectangularShape
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getFrame(): Rectangle2D
- Definition Classes
- RectangularShape
- Annotations
- @Transient()
-
def
getHeight(): Double
- Definition Classes
- Double → RectangularShape
-
def
getMaxX(): Double
- Definition Classes
- RectangularShape
-
def
getMaxY(): Double
- Definition Classes
- RectangularShape
-
def
getMinX(): Double
- Definition Classes
- RectangularShape
-
def
getMinY(): Double
- Definition Classes
- RectangularShape
-
def
getPathIterator(arg0: AffineTransform, arg1: Double): PathIterator
- Definition Classes
- Rectangle2D → RectangularShape → Shape
-
def
getPathIterator(arg0: AffineTransform): PathIterator
- Definition Classes
- Rectangle2D → Shape
-
def
getWidth(): Double
- Definition Classes
- Double → RectangularShape
-
def
getX(): Double
- Definition Classes
- Double → RectangularShape
-
def
getY(): Double
- Definition Classes
- Double → RectangularShape
-
def
hashCode(): Int
- Definition Classes
- Rectangle2D → AnyRef → Any
-
def
intersects(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean
- Definition Classes
- Rectangle2D → Shape
-
def
intersects(arg0: Rectangle2D): Boolean
- Definition Classes
- RectangularShape → Shape
-
def
intersectsLine(arg0: Line2D): Boolean
- Definition Classes
- Rectangle2D
-
def
intersectsLine(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean
- Definition Classes
- Rectangle2D
-
def
isEmpty(): Boolean
- Definition Classes
- Double → RectangularShape
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
outcode(arg0: Double, arg1: Double): Int
- Definition Classes
- Double → Rectangle2D
-
def
outcode(arg0: Point2D): Int
- Definition Classes
- Rectangle2D
-
def
setFrame(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Unit
- Definition Classes
- Rectangle2D → RectangularShape
-
def
setFrame(arg0: Rectangle2D): Unit
- Definition Classes
- RectangularShape
-
def
setFrame(arg0: Point2D, arg1: Dimension2D): Unit
- Definition Classes
- RectangularShape
-
def
setFrameFromCenter(arg0: Point2D, arg1: Point2D): Unit
- Definition Classes
- RectangularShape
-
def
setFrameFromCenter(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Unit
- Definition Classes
- RectangularShape
-
def
setFrameFromDiagonal(arg0: Point2D, arg1: Point2D): Unit
- Definition Classes
- RectangularShape
-
def
setFrameFromDiagonal(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Unit
- Definition Classes
- RectangularShape
-
def
setRect(arg0: Rectangle2D): Unit
- Definition Classes
- Double → Rectangle2D
-
def
setRect(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Unit
- Definition Classes
- Double → Rectangle2D
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Double → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )