case class Line(p1: R2 = R2 (0.0, 0.0), p2: R2 = R2 (0.0, 0.0)) extends Double with Product with Serializable
Line
is a convenience case class for Line2D
(a subclass of RectangularShape
).
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Line
- Serializable
- Product
- Equals
- Double
- Serializable
- Line2D
- Cloneable
- Shape
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Definition Classes
- Line2D → AnyRef
-
def
contains(arg0: Rectangle2D): Boolean
- Definition Classes
- Line2D → Shape
-
def
contains(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean
- Definition Classes
- Line2D → Shape
-
def
contains(arg0: Point2D): Boolean
- Definition Classes
- Line2D → Shape
-
def
contains(arg0: Double, arg1: Double): Boolean
- Definition Classes
- Line2D → Shape
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getBounds(): java.awt.Rectangle
- Definition Classes
- Line2D → Shape
-
def
getBounds2D(): Rectangle2D
- Definition Classes
- Double → Shape
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getP1(): Point2D
- Definition Classes
- Double → Line2D
-
def
getP2(): Point2D
- Definition Classes
- Double → Line2D
-
def
getPathIterator(arg0: AffineTransform, arg1: Double): PathIterator
- Definition Classes
- Line2D → Shape
-
def
getPathIterator(arg0: AffineTransform): PathIterator
- Definition Classes
- Line2D → Shape
-
def
getX1(): Double
- Definition Classes
- Double → Line2D
-
def
getX2(): Double
- Definition Classes
- Double → Line2D
-
def
getY1(): Double
- Definition Classes
- Double → Line2D
-
def
getY2(): Double
- Definition Classes
- Double → Line2D
-
def
intersects(arg0: Rectangle2D): Boolean
- Definition Classes
- Line2D → Shape
-
def
intersects(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean
- Definition Classes
- Line2D → Shape
-
def
intersectsLine(arg0: Line2D): Boolean
- Definition Classes
- Line2D
-
def
intersectsLine(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean
- Definition Classes
- Line2D
-
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()
- var p1: R2
- var p2: R2
-
def
ptLineDist(arg0: Point2D): Double
- Definition Classes
- Line2D
-
def
ptLineDist(arg0: Double, arg1: Double): Double
- Definition Classes
- Line2D
-
def
ptLineDistSq(arg0: Point2D): Double
- Definition Classes
- Line2D
-
def
ptLineDistSq(arg0: Double, arg1: Double): Double
- Definition Classes
- Line2D
-
def
ptSegDist(arg0: Point2D): Double
- Definition Classes
- Line2D
-
def
ptSegDist(arg0: Double, arg1: Double): Double
- Definition Classes
- Line2D
-
def
ptSegDistSq(arg0: Point2D): Double
- Definition Classes
- Line2D
-
def
ptSegDistSq(arg0: Double, arg1: Double): Double
- Definition Classes
- Line2D
-
def
relativeCCW(arg0: Point2D): Int
- Definition Classes
- Line2D
-
def
relativeCCW(arg0: Double, arg1: Double): Int
- Definition Classes
- Line2D
-
def
setLine(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Unit
- Definition Classes
- Double → Line2D
-
def
setLine(arg0: Line2D): Unit
- Definition Classes
- Line2D
-
def
setLine(arg0: Point2D, arg1: Point2D): Unit
- Definition Classes
- Line2D
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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( ... )