scalation.scala2d

CurvilinearShape

trait CurvilinearShape extends Shape with Error

The CurvilinearShape trait provides a general type for line and curves. It is analogous to RectangularShape.

Linear Supertypes
Error, Shape, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CurvilinearShape
  2. Error
  3. Shape
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def contains(arg0: Rectangle2D): Boolean

    Definition Classes
    Shape
  2. abstract def contains(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean

    Definition Classes
    Shape
  3. abstract def contains(arg0: Point2D): Boolean

    Definition Classes
    Shape
  4. abstract def contains(arg0: Double, arg1: Double): Boolean

    Definition Classes
    Shape
  5. abstract def getBounds(): java.awt.Rectangle

    Definition Classes
    Shape
  6. abstract def getBounds2D(): Rectangle2D

    Definition Classes
    Shape
  7. abstract def getCenterX(): Double

    Get the x-coordinate of the center of a line/curve.

    Get the x-coordinate of the center of a line/curve. This method must be implemented by all classes mixing in this trait.

  8. abstract def getCenterY(): Double

    Get the y-coordinate of the center of a line/curve.

    Get the y-coordinate of the center of a line/curve. This method must be implemented by all classes mixing in this trait.

  9. abstract def getPathIterator(arg0: AffineTransform, arg1: Double): PathIterator

    Definition Classes
    Shape
  10. abstract def getPathIterator(arg0: AffineTransform): PathIterator

    Definition Classes
    Shape
  11. abstract def intersects(arg0: Rectangle2D): Boolean

    Definition Classes
    Shape
  12. abstract def intersects(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean

    Definition Classes
    Shape
  13. abstract def setLine(p1: R2, pc: R2, bend: Double): Unit

    Set (or reset) the location for a line/curve using the bend parameter to compute the control point.

    Set (or reset) the location for a line/curve using the bend parameter to compute the control point. This method must be implemented by all classes mixing in this trait.

    bend

    the bend or curvature (1. => line-length)

  14. abstract def setLine(p1: R2, p2: R2): Unit

    Set (or reset) the location for a straight line.

    Set (or reset) the location for a straight line. This method must be implemented by all classes mixing in this trait.

    p1

    the starting point

    p2

    the ending point

Concrete 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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def flaw(method: String, message: String): Unit

    Show the flaw by printing the error message.

    Show the flaw by printing the error message.

    method

    the method where the error occurred

    message

    the error message

    Definition Classes
    Error
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  16. def next(width: Double, height: Double): R2

    Return the next point on the CurvilinearShape (one step beyond current point) and adjust from top-left to center coordinates for the object traversing the curve based on its width and height.

    Return the next point on the CurvilinearShape (one step beyond current point) and adjust from top-left to center coordinates for the object traversing the curve based on its width and height. Return null if past end point. This is an optional method.

    width

    the width of object traversing the curve

    height

    the height of object traversing the curve

  17. final def notify(): Unit

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

    Definition Classes
    AnyRef
  19. def setLine(p1: R2, pc: R2, p2: R2): Unit

    Set (or reset) the location for a line/curve using an explicitly given control point.

    Set (or reset) the location for a line/curve using an explicitly given control point. This is an optional method.

  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Error

Inherited from Shape

Inherited from AnyRef

Inherited from Any

Ungrouped