Packages

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
Product, Equals, Double, Serializable, Line2D, Cloneable, Shape, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Line
  2. Product
  3. Equals
  4. Double
  5. Serializable
  6. Line2D
  7. Cloneable
  8. Shape
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Line(p1: R2 = R2 (0.0, 0.0), p2: R2 = R2 (0.0, 0.0))

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Definition Classes
    Line2D → AnyRef
  6. def contains(arg0: Rectangle2D): Boolean
    Definition Classes
    Line2D → Shape
  7. def contains(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean
    Definition Classes
    Line2D → Shape
  8. def contains(arg0: Point2D): Boolean
    Definition Classes
    Line2D → Shape
  9. def contains(arg0: Double, arg1: Double): Boolean
    Definition Classes
    Line2D → Shape
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def getBounds(): java.awt.Rectangle
    Definition Classes
    Line2D → Shape
  12. def getBounds2D(): Rectangle2D
    Definition Classes
    Double → Shape
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def getP1(): Point2D
    Definition Classes
    Double → Line2D
  15. def getP2(): Point2D
    Definition Classes
    Double → Line2D
  16. def getPathIterator(arg0: AffineTransform, arg1: Double): PathIterator
    Definition Classes
    Line2D → Shape
  17. def getPathIterator(arg0: AffineTransform): PathIterator
    Definition Classes
    Line2D → Shape
  18. def getX1(): Double
    Definition Classes
    Double → Line2D
  19. def getX2(): Double
    Definition Classes
    Double → Line2D
  20. def getY1(): Double
    Definition Classes
    Double → Line2D
  21. def getY2(): Double
    Definition Classes
    Double → Line2D
  22. def intersects(arg0: Rectangle2D): Boolean
    Definition Classes
    Line2D → Shape
  23. def intersects(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean
    Definition Classes
    Line2D → Shape
  24. def intersectsLine(arg0: Line2D): Boolean
    Definition Classes
    Line2D
  25. def intersectsLine(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean
    Definition Classes
    Line2D
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. var p1: R2
  31. var p2: R2
  32. def productElementNames: Iterator[String]
    Definition Classes
    Product
  33. def ptLineDist(arg0: Point2D): Double
    Definition Classes
    Line2D
  34. def ptLineDist(arg0: Double, arg1: Double): Double
    Definition Classes
    Line2D
  35. def ptLineDistSq(arg0: Point2D): Double
    Definition Classes
    Line2D
  36. def ptLineDistSq(arg0: Double, arg1: Double): Double
    Definition Classes
    Line2D
  37. def ptSegDist(arg0: Point2D): Double
    Definition Classes
    Line2D
  38. def ptSegDist(arg0: Double, arg1: Double): Double
    Definition Classes
    Line2D
  39. def ptSegDistSq(arg0: Point2D): Double
    Definition Classes
    Line2D
  40. def ptSegDistSq(arg0: Double, arg1: Double): Double
    Definition Classes
    Line2D
  41. def relativeCCW(arg0: Point2D): Int
    Definition Classes
    Line2D
  42. def relativeCCW(arg0: Double, arg1: Double): Int
    Definition Classes
    Line2D
  43. def setLine(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Unit
    Definition Classes
    Double → Line2D
  44. def setLine(arg0: Line2D): Unit
    Definition Classes
    Line2D
  45. def setLine(arg0: Point2D, arg1: Point2D): Unit
    Definition Classes
    Line2D
  46. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  49. 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 Line2D

Inherited from Cloneable

Inherited from Shape

Inherited from AnyRef

Inherited from Any

Ungrouped