Package edu.rit.draw
See: Description
-
Class Summary Class Description Drawing Class Drawing provides a drawing. -
Enum Summary Enum Description Drawing.Alignment Enumeration Drawing.Alignment specifies how a Drawing's items are to be aligned within the drawing's display region.
Package edu.rit.draw Description
To create a drawing or slide, first create an instance of class Drawing. Next, create a number of drawing items and add each one to the drawing. Package edu.rit.draw.item contains classes for various kinds of drawing items such as lines, arrows, rectangles, ellipses, and text. Finally, store the drawing object in a file using the static Drawing.write() method.
To view a drawing or slide, run the viewer program, class View, specifying the drawing file on the command line. The viewer program lets you save the drawing in a PNG file or a PostScript file.
Future versions of package edu.rit.draw will include a WYSIWYG application for creating and viewing drawings as well as applications for creating and running slide shows.
DMelt 3.0 © DataMelt by jWork.ORG