Class Summary Class Description DrawingClass Drawing provides a drawing. Enum Summary Enum Description Drawing.AlignmentEnumeration 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 itemsand add each one to the drawing.Package edu.rit.draw.itemcontains classes for various kinds of drawing itemssuch as lines, arrows, rectangles, ellipses, and text.Finally, store the drawing object in a fileusing 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 drawingin a PNG file or a PostScript file.
Future versions of package edu.rit.drawwill include a WYSIWYG application for creating and viewing drawingsas well as applications for creating and running slide shows.
SCaVis 2.0 © jWork.ORG