|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Graphic | |
|---|---|
| game | |
| yops | |
| Uses of Graphic in game |
|---|
| Methods in game that return Graphic | |
|---|---|
Graphic |
MovingGraphic.getShape()
|
| Methods in game with parameters of type Graphic | |
|---|---|
void |
Controller.addGraphic(Graphic s)
|
void |
MovingGraphics.addGraphic(Graphic shape,
Vector delta)
Include the specified shape in this MovingBody. |
void |
Controller.removeGraphic(Graphic s)
|
| Constructors in game with parameters of type Graphic | |
|---|---|
MovingGraphic(Controller controller,
Trackable t,
Graphic s,
Point ul,
Point lr)
Manage an animated Shape. |
|
| Uses of Graphic in yops |
|---|
| Subclasses of Graphic in yops | |
|---|---|
class |
Arc
An Arc is visual component defined by a bounding box with a given upper left corner, a width, and a height, plus a starting point and extent in degrees. |
class |
Ellipse
An Ellipse is a an axis-aligned visual component defined by a bounding box with a given upper left corner, a width, and a height. |
class |
Image
An Image is a visual display of a picture represented as a raster of pixels in an (x,y) coordinate system, with (0,0) at the upper left. |
class |
Line
A Line is a visual display of a line segment defined by the coordinates of two pixels at its end points. |
class |
Polygon
A Polygon is a closed shape specified by a series of (x,y) points. |
class |
Rectangle
A Rectangle is an axis-aligned visual component defined by an upper left corner, a width, and a height. |
class |
RoundedRectangle
A RoundedRectangle is an axis-aligned visual component defined by an upper left corner, a width, and a height, where the corners are slightly rounded for a softer visual effect. |
class |
Shape
A Shape is a geometric visual component. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||