|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of DrawObj in edu.byu.phun2d |
---|
Subclasses of DrawObj in edu.byu.phun2d | |
---|---|
class |
Arc
This objec will draw an elliptical arc. |
class |
Axes
This creates a new drawable DrawObj that can be added to a scene or a Group. |
class |
Group
A Group collects a series of other DrawObj objects to be drawn, including other GroupObjs. |
class |
Line
A Line draws a straight line between points (x1,y1) and (x2,y2). |
class |
Oval
This class draws an oval based on a center point and a width and height. |
class |
Rect
This class will draw a rectangle based on a center point and a width and height. |
class |
Text
This will draw a string of text on the screen. |
class |
Triangle
This class will draw a triangle based on any three points. |
Methods in edu.byu.phun2d that return DrawObj | |
---|---|
DrawObj |
Group.getObjectAt(int index)
This will get an object from this group. |
Methods in edu.byu.phun2d with parameters of type DrawObj | |
---|---|
void |
Win2D.add(DrawObj newObj)
This will add a new object to the list of objects to be drawn in this window. |
void |
Group.add(DrawObj newObj)
This will add a new object to the list of objects in this group. |
void |
Group.setObjectAt(int index,
DrawObj newObj)
This will change one of the existing objects in a group. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |