Uses of Enum Class
games.stendhal.client.gui.j2d.entity.helpers.HorizontalAlignment
Package
Description
-
Uses of HorizontalAlignment in games.stendhal.client.gui.j2d.entity
Modifier and TypeMethodDescriptionvoid
Entity2DView.attachSprite(Sprite sprite, HorizontalAlignment xAlign, VerticalAlignment yAlign, int xOffset, int yOffset)
Attach a sprite to the view. -
Uses of HorizontalAlignment in games.stendhal.client.gui.j2d.entity.helpers
Modifier and TypeMethodDescriptionstatic HorizontalAlignment
Returns the enum constant of this class with the specified name.static HorizontalAlignment[]
HorizontalAlignment.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic void
DrawingHelper.drawAlignedSprite(Graphics2D g2d, Sprite sprite, HorizontalAlignment horizontalAlign, VerticalAlignment verticalAlign, int x, int y, int width, int height)
Align a sprite in a defined area, which is defined by upper left corner (x,y) and width to the right and height downwards