Package | Description |
---|---|
com.b3dgs.lionengine.drawable |
Classic drawable classes for a ready to use image manipulation.
|
com.b3dgs.lionengine.graphic |
Graphic related package.
|
Modifier and Type | Method and Description |
---|---|
void |
Image.setLocation(Viewer viewer,
Localizable localizable)
Set the location on screen from a viewer viewpoint.
|
Modifier and Type | Method and Description |
---|---|
void |
Graphic.drawGradient(Viewer viewer,
Origin origin,
double x,
double y,
int width,
int height)
Draws the specified gradient rectangle.
|
void |
Graphic.drawLine(Viewer viewer,
double x1,
double y1,
double x2,
double y2)
Draws a line, using the current color, between the points
(x1, y1) and
(x2, y2) in this graphic. |
void |
Graphic.drawOval(Viewer viewer,
Origin origin,
double x,
double y,
int width,
int height,
boolean fill)
Fills an oval bounded by the specified rectangle with the current color.
|
void |
Graphic.drawRect(Viewer viewer,
Origin origin,
double x,
double y,
int width,
int height,
boolean fill)
Draws the specified rectangle.
|
Copyright © 2016 Byron 3D Games Studio. All rights reserved.