Uses of Enum Class
games.stendhal.client.gui.j2d.entity.helpers.HorizontalAlignment
Packages that use HorizontalAlignment
Package
Description
-
Uses of HorizontalAlignment in games.stendhal.client.gui.j2d.entity
Methods in games.stendhal.client.gui.j2d.entity with parameters of type HorizontalAlignmentModifier and TypeMethodDescriptionvoidEntity2DView.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
Methods in games.stendhal.client.gui.j2d.entity.helpers that return HorizontalAlignmentModifier and TypeMethodDescriptionstatic HorizontalAlignmentReturns 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.Methods in games.stendhal.client.gui.j2d.entity.helpers with parameters of type HorizontalAlignmentModifier and TypeMethodDescriptionstatic voidDrawingHelper.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