Package | Description |
---|---|
com.b3dgs.lionengine |
Main engine core types and utility classes.
|
com.b3dgs.lionengine.core.drawable |
Classic drawable classes for a ready to use image manipulation.
|
com.b3dgs.lionengine.core.sequence |
Sequencing package.
|
com.b3dgs.lionengine.graphic |
Graphic basic dedicated package.
|
Modifier and Type | Method and Description |
---|---|
Resolution |
Resolution.get2x()
Get scaled by 2.
|
Resolution |
Resolution.get3x()
Get scaled by 3.
|
Resolution |
Config.getOutput()
Get the resolution output.
|
Resolution |
Resolution.getScaled(double factorX,
double factorY)
Get scaled resolution.
|
Resolution |
Config.getSource()
Get the resolution source.
|
Modifier and Type | Method and Description |
---|---|
static Config |
Config.fullscreen(Resolution output)
Create a 32 bits color depth and fullscreen configuration using output resolution.
|
void |
Config.setSource(Resolution source)
Set the resolution source.
|
static Config |
Config.windowed(Resolution output)
Create a 32 bits color depth and windowed configuration using output resolution.
|
Constructor and Description |
---|
Config(Resolution output,
int depth,
boolean windowed)
Create a configuration.
|
Config(Resolution output,
int depth,
boolean windowed,
Media icon)
Create a configuration.
|
Modifier and Type | Method and Description |
---|---|
static void |
Drawable.setDpi(Resolution baseline,
Config config)
Set the DPI to use.
|
Modifier and Type | Method and Description |
---|---|
void |
Sequence.setResolution(Resolution source) |
void |
ResolutionChanger.setResolution(Resolution resolution)
Set the new resolution.
|
Constructor and Description |
---|
Sequence(Context context,
Resolution resolution)
Constructor base.
|
Modifier and Type | Method and Description |
---|---|
static DpiType |
DpiType.from(Resolution baseline,
Resolution target)
Get the DPI type from resolution difference.
|
void |
Screen.onSourceChanged(Resolution source)
Call when resolution source has been changed.
|
Copyright © 2017 Byron 3D Games Studio. All rights reserved.