Arc
is a convenience case class for Arc2D (a subclass of RectangularShape).
The Arrow
class uses Java's Path2D class to create a line with an arrowhead
on the far end.
The CurvilinearShape
trait provides a general type for line and curves.
Ellipse
is a convenience case class for Ellipse2D (a subclass of RectangularShape).
Frame
is a convenience class for JFrame
.
The Hexagon class enhances the Path2D.
Line
is a convenience case class for Line2D (a subclass of RectangularShape).
The Octagon class enhances the Path2D.
Panel
is a convenience class for JPanel
.
Path
is a convenience case class for Path2D.
The Pentagon class enhances the Path2D.
The Polygon
class enhances the Path2D.Double
class (from the java.
The QArrow
class uses Java's Path2D
class to create a quad curve with an
arrowhead on the far end.
The QCurve
class enhances the QuadCurve.Double
class (from the java.
The Quad class enhances the Path2D.
R2
is a convenience case class for Point2D.
Rectangle
is a convenience case class for Rectangle2D (a subclass of RectangularShape).
RoundRectangle
is a convenience case class for RoundRectangle2D (a subclass of RectangularShape).
ScrollPane
is a convenience class for JScrollPane
.
Table
is a convenience class for JTable
.
The Transform
trait provides a simple technique for transforming
(translation, scaling and rotation) rectangular shapes.
The Triangle class enhances the Path2D.
The VizFrame
class puts the canvas in the visualization/drawing frame.
The ArrowTest
object is used to test the Arrow
class.
The Colors
convenience object defines numerous common colors.
The ColorsTest
object is used to test the Colors
object.
Useful constants.
The PolygonTest
object tests the Polygon
, Triangle
, Quad
and Hexagon
classes.
The QArrowTest
object is used to test the QArrow
class.
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
The QCurve
companion object provides formulas used by the QCurve
class.
The QCurveTest
object tests the QCurve
classes' quad curves.
The QCurveTest2
object tests traversals of QCurve
's (quad curves).
The Shapes
object Scala provides type aliases for basic Java2D types.
The scala2d package contains classes, traits and objects for for simple 2D graphics in scala, based upon java_swing, java_awt and java_awt_geom.