Packages

t

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
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: 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
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final 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
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. 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

  15. final def notify(): Unit
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  17. 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.

  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Error

Inherited from Shape

Inherited from AnyRef

Inherited from Any

Ungrouped