Class EntityPivot
java.lang.Object
de.gurkenlabs.litiengine.entities.EntityPivot
public class EntityPivot
extends java.lang.Object
Constructor Summary
Constructors Constructor Description EntityPivot(IEntity entity, double offsetX, double offsetY)
EntityPivot(IEntity entity, Align align, Valign valign)
EntityPivot(IEntity entity, EntityPivotType type, double offsetX, double offsetY)
Method Summary
Modifier and Type Method Description IEntity
getEntity()
double
getOffsetX()
double
getOffsetY()
java.awt.geom.Point2D
getPoint()
EntityPivotType
getType()
void
setOffset(java.awt.geom.Point2D offset)
void
setOffsetX(double offsetX)
void
setOffsetY(double offsetY)
Constructor Details
Method Details
getEntity
getType
getOffsetX
public double getOffsetX()getOffsetY
public double getOffsetY()getPoint
public java.awt.geom.Point2D getPoint()setOffsetX
public void setOffsetX(double offsetX)setOffsetY
public void setOffsetY(double offsetY)setOffset
public void setOffset(java.awt.geom.Point2D offset)