skip to main content
Maps > Programmer's documentation > Rogue Wave JViews Framework Essential Features > Graphic objects > A graphic object
 
A graphic object
A graphic object is an object that users can view on their screen.
When you display a graphic object, you associate its coordinates with the coordinate system of a particular graphic bag.
A graphic bag is an interface that describes the methods to be implemented by a class that contains several graphic objects. An example of a graphic bag is the class IlvManager, which can manage a large number of graphic objects. For more information see Managers.
Every graphic object has an x value, a y value, and dimensions (that is, width and height). The x and y values define the upper-left corner of the graphic object’s bounding box, which is the smallest rectangle containing the entire area of the object. You define the exact shapes of graphic objects in your Rogue Wave® JViews-based programs and then build them using various drawing methods. Other methods provide you with information about your graphic objects and let you carry out geometric tests concerning the shapes that you are using. For example, you can check whether or not a point with given coordinates lies inside a certain object form.

Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.