scalation

scala2d

package scala2d

Visibility
  1. Public
  2. All

Type Members

  1. case class Arc () extends Double with Product with Serializable

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Convenience case class for Arc2D (a subclass of RectangularShape).

  2. case class Arrow (p1: R2, p2: R2, len: Int) extends Double with CurvilinearShape with Product with Serializable

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: The Arrow class uses Java's Path2D class to create a line with an arrowhead on the far end.

  3. trait CurvilinearShape extends Shape with Error

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: The CurvilinearShape trait provides a general type for line and curves.

  4. case class Ellipse () extends Double with Product with Serializable

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Convenience case class for Ellipse2D (a subclass of RectangularShape).

  5. case class Hexagon (vertex: Array[R2]) extends Double with Error with Product with Serializable

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: The Hexagon class enhances the Path2D.

  6. case class Line (p1: R2, p2: R2) extends Double with CurvilinearShape with Product with Serializable

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: The Line class uses Java's Line2D class to create a line.

  7. case class Octogon (vertex: Array[R2]) extends Double with Error with Product with Serializable

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: The Octogon class enhances the Path2D.

  8. case class Path () extends Double with Product with Serializable

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Convenience case class for Path2D.

  9. case class Pentagon (vertex: Array[R2]) extends Double with Error with Product with Serializable

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: The Pentagon class enhances the Path2D.

  10. case class Polygon (vertex: Array[R2]) extends Double with Error with Product with Serializable

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: The Polygon class enhances the Path2D.

  11. case class QArrow (p1: R2, pc: R2, p2: R2, len: Int) extends Double with CurvilinearShape with Product with Serializable

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: The QArrow class uses Java's Path2D class to create a quad curve with an arrowhead on the far end.

  12. case class QCurve (p1: R2, pc: R2, p2: R2, straight: Boolean) extends Double with CurvilinearShape with Error with Product with Serializable

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: The QCurve class enhances the QuadCurve.

  13. case class Quad (vertex: Array[R2]) extends Double with Error with Product with Serializable

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: The Quad class enhances the Path2D.

  14. case class R2 (xx: Double, yy: Double) extends Double with Product with Serializable

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Convenience case class for Point2D.

  15. case class Rectangle () extends Double with Product with Serializable

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Convenience case class for Rectangle2D (a subclass of RectangularShape).

  16. case class RoundRectangle () extends Double with Product with Serializable

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Convenience case class for RoundRectangle2D (a subclass of RectangularShape).

  17. trait Transform extends Error

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: The Transform trait provides a simple technique for transforming (translation, scaling and rotation) rectangular shapes.

  18. case class Triangle (vertex: Array[R2]) extends Double with Error with Product with Serializable

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: The Triangle class enhances the Path2D.

Value Members

  1. object ArrowTest extends App

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: This object is used to test the Arrow class.

  2. object Colors extends AnyRef

    A convenience object defining numerous common colors.

  3. object ColorsTest extends App

    This object is used to test the Colors object.

  4. object Constants extends AnyRef

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Useful constants.

  5. object LineTest extends App

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: This object is used to test the Line class.

  6. object PolygonTest extends App

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: The PolygonTest object tests the Polygon, Triangle, Quad and Hexagon classes.

  7. object QArrowTest extends App

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: This object is used to test the QArrow class.

  8. object QCurveCalc extends AnyRef

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: This object provides formulas used by the QCurve class.

  9. object QCurveTest extends App

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: The QCurveTest object tests QCurve's (quad curves).

  10. object QCurveTest2 extends App

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: The QCurveTest2 object tests traversals of QCurve's (quad curves).

  11. object Shapes extends AnyRef

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Scala type aliases for basic Java2D types.