| Package | Description |
|---|---|
| de.bright_side.lgf.base | |
| de.bright_side.lgf.logic | |
| de.bright_side.lgf.model | |
| de.bright_side.lgf.util | |
| de.bright_side.lgf.view |
| Modifier and Type | Method and Description |
|---|---|
LImage |
LPlatform.createImageFromColorMap(Map<LVector,LColor> colorsMap,
LVector size,
LColor defaultColor) |
| Modifier and Type | Method and Description |
|---|---|
LImage |
LPlatform.createImageFromColorMap(Map<LVector,LColor> colorsMap,
LVector size,
LColor defaultColor) |
| Modifier and Type | Method and Description |
|---|---|
LVector |
LVirtualSizeLogic.getVirtualSize(LVector prefVirtualSize,
LVector screenSize,
LConstants.ScaleMode mode,
double aspectRatio) |
| Modifier and Type | Method and Description |
|---|---|
void |
LTweenLogic.addMoveTween(LObject object,
LVector destPos,
double durationInSeconds) |
void |
LTweenLogic.addSizeTween(LObject object,
LVector destSize,
double durationInSeconds) |
LObject |
LScreenLogic.createObject(LVector size,
LVector pos) |
protected double |
LScreenLogic.getNeededRotationClosedToCurrentRotationAndOutOfRange(LObject object,
LVector dest) |
LVector |
LVirtualSizeLogic.getVirtualSize(LVector prefVirtualSize,
LVector screenSize,
LConstants.ScaleMode mode,
double aspectRatio) |
double |
LVirtualSizeLogic.getVirtualSizeScaleFactor(LVector prefVirtualSize,
LVector screenSize,
LConstants.ScaleMode mode,
double aspectRatio) |
void |
LTweenLogic.setMoveTween(LTween tween,
LVector startPos,
LVector destPos,
double durationInSeconds) |
void |
LTweenLogic.setSizeTween(LTween tween,
LObject object,
LVector destSize,
double durationInSeconds) |
LObject |
LScreenLogic.setTextShadow(LObject object,
LVector shadowOffset,
LColor shadowColor) |
| Modifier and Type | Method and Description |
|---|---|
LVector |
LPointer.getDragDistance() |
LVector |
LPointer.getPos() |
LVector |
LObject.getPos() |
LVector |
LTween.getPosChange() |
LVector |
LObject.getSize() |
LVector |
LImage.getSize() |
LVector |
LTween.getSizeChange() |
LVector |
LObject.getTextShadowOffset() |
LVector |
LPointer.getTouchDownPos() |
| Modifier and Type | Method and Description |
|---|---|
List<LVector> |
LObject.getPath() |
List<LVector> |
LPolygon.getPoints() |
| Modifier and Type | Method and Description |
|---|---|
void |
LPointer.setDragDistance(LVector dragDistance) |
void |
LPointer.setPos(LVector pos) |
void |
LObject.setPos(LVector pos) |
void |
LTween.setPosChange(LVector posChange) |
void |
LObject.setSize(LVector size) |
void |
LImage.setSize(LVector size) |
void |
LTween.setSizeChange(LVector sizeChange) |
void |
LObject.setTextShadowOffset(LVector textShadowOffset) |
void |
LPointer.setTouchDownPos(LVector touchDownPos) |
| Modifier and Type | Method and Description |
|---|---|
void |
LObject.setPath(List<LVector> path) |
void |
LPolygon.setPoints(List<LVector> points) |
| Modifier and Type | Method and Description |
|---|---|
static LVector |
LMathsUtil.add(LVector vector,
double value) |
static LVector |
LMathsUtil.add(LVector vector,
double x,
double y) |
static LVector |
LMathsUtil.add(LVector vector,
LVector moveAmount) |
static LVector |
LMathsUtil.average(LVector vectorA,
LVector vectorB) |
static LVector |
LMathsUtil.divide(LVector vector,
double factor) |
static LVector |
LMathsUtil.divide(LVector vectorA,
LVector vectorB) |
static LVector |
LMathsUtil.moveInDirection(LVector vector,
double direction,
double amount) |
static LVector |
LMathsUtil.multiply(LVector vector,
double factor) |
static LVector |
LMathsUtil.multiply(LVector vectorA,
LVector vectorB) |
static LVector |
LMathsUtil.putInRange(LVector pos,
LVector topLeft,
LVector bottomRight) |
static LVector |
LMathsUtil.rotate(LVector point,
LVector center,
double angle) |
static LVector |
LMathsUtil.round(LVector vector) |
static LVector |
LMathsUtil.subtract(LVector vectorA,
LVector vectorB) |
| Modifier and Type | Method and Description |
|---|---|
static LPolygon |
LMathsUtil.add(LPolygon polygon,
LVector addVector) |
static LVector |
LMathsUtil.add(LVector vector,
double value) |
static LVector |
LMathsUtil.add(LVector vector,
double x,
double y) |
static LVector |
LMathsUtil.add(LVector vector,
LVector moveAmount) |
static LVector |
LMathsUtil.average(LVector vectorA,
LVector vectorB) |
static LVector |
LMathsUtil.divide(LVector vector,
double factor) |
static LVector |
LMathsUtil.divide(LVector vectorA,
LVector vectorB) |
static double |
LMathsUtil.getAngleInDegrees(LVector p1,
LVector p2) |
static double |
LMathsUtil.getDistance(LVector p1,
LVector p2) |
static boolean |
LMathsUtil.isInCenteredArea(LVector pos,
LVector areaCenterPos,
LVector areaSize) |
static boolean |
LMathsUtil.isZero(LVector vector) |
static LVector |
LMathsUtil.moveInDirection(LVector vector,
double direction,
double amount) |
static LPolygon |
LMathsUtil.multiply(LPolygon polygon,
LVector multiplyVector) |
static LVector |
LMathsUtil.multiply(LVector vector,
double factor) |
static LVector |
LMathsUtil.multiply(LVector vectorA,
LVector vectorB) |
static LVector |
LMathsUtil.putInRange(LVector pos,
LVector topLeft,
LVector bottomRight) |
static LPolygon |
LMathsUtil.rotate(LPolygon polygon,
LVector center,
double angle) |
static LVector |
LMathsUtil.rotate(LVector point,
LVector center,
double angle) |
static LVector |
LMathsUtil.round(LVector vector) |
static LVector |
LMathsUtil.subtract(LVector vectorA,
LVector vectorB) |
| Modifier and Type | Method and Description |
|---|---|
LVector |
LScreenView.getCameraPos() |
LVector |
LScreenView.getScreenSize() |
| Modifier and Type | Method and Description |
|---|---|
void |
LCanvas.drawImageCentered(LVector pos,
LVector size,
LImage image,
double rotation,
boolean considerCameraPos) |
void |
LCanvas.drawTextCentered(LVector pos,
String text,
double textSize,
LColor color,
LColor outlineColorOrNull,
LFont fontOrNull,
LVector shadowOffset,
LColor shadowColor,
boolean considerCameraPos) |
void |
LCanvas.fillRect(LVector pos,
LVector size,
LColor color,
boolean considerCameraPos) |
void |
LCanvas.fillRectCentered(LVector pos,
LVector size,
LColor color,
boolean considerCameraPos) |
List<LObject> |
LScreenView.getTouchedObjects(LVector pos,
LVector posIgnoreCamera) |
void |
LScreenView.setCameraPos(LVector cameraPos) |
| Constructor and Description |
|---|
LScreenView(LPlatform platform,
LVector screenSize,
double fontScaleFactor) |
Copyright © 2019 Philip Heyse. All rights reserved.