Package | Description |
---|---|
com.b3dgs.lionengine |
Main engine core types and utility classes.
|
com.b3dgs.lionengine.graphic |
Graphic basic dedicated package.
|
Modifier and Type | Method and Description |
---|---|
static Origin |
Origin.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Origin[] |
Origin.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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.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.
|
void |
Image.setOrigin(Origin origin)
Set the origin location type, related to surface area.
|
Copyright © 2017 Byron 3D Games Studio. All rights reserved.