Uses of Enum Class
games.stendhal.client.gui.j2d.entity.helpers.VerticalAlignment
Package
Description
-
Uses of VerticalAlignment 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 VerticalAlignment in games.stendhal.client.gui.j2d.entity.helpers
Modifier and TypeMethodDescriptionstatic VerticalAlignment
Returns the enum constant of this class with the specified name.static VerticalAlignment[]
VerticalAlignment.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