Interface Image
-
- All Superinterfaces:
ContainerChild,Element,be.yildizgames.common.util.Registerable,Widget
public interface Image extends Widget, ContainerChild
An image to display on the screen.- Author:
- Grégory Van den Borre
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface be.yildizgames.module.graphic.gui.internal.Element
Element.Alignment
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voiddelete()voidforceContainsFalse()Force the contains method to always return false.default intgetBorderSize()MaterialgetMaterial()voidmultiplySize(float f)Multiply the Image size by a given factor.voidsetMaterial(Material m)Set the image material.-
Methods inherited from interface be.yildizgames.module.graphic.gui.ContainerChild
detachFromParent, getParent, setLeftFromParent, setLeftFromParent, setTopFromParent, setTopFromParent, updateAddPositionValue, updateSizeAfterZoom
-
Methods inherited from interface be.yildizgames.module.graphic.gui.internal.Element
addToLeft, addToPosition, addToTop, getBottom, getCoordinates, getHeight, getLeft, getRight, getTop, getWidth, hide, isVisible, resetVirtualHeight, setCoordinates, setHeight, setLeft, setLeft, setLeft, setLeft, setPosition, setPosition, setSize, setSize, setTop, setTop, setTop, setTop, setVirtualHeight, setVisible, setWidth, show
-
Methods inherited from interface be.yildizgames.module.graphic.gui.Widget
addEmptyZone, addKeyboardListener, addMouseDoubleLeftClickListener, addMouseDragListener, addMouseLeftClickListener, addMouseMoveListener, addMouseReleaseListener, addMouseRightClickListener, addMouseWheelListener, addOnMouseOverListener, align, contains, contains, focus, getAbsoluteLeft, getAbsoluteTop, highlight, isFocusable, playAnimation, registerAnimation, removeAllClickListeners, stopAnimation
-
-
-
-
Method Detail
-
getMaterial
Material getMaterial()
- Returns:
- The Image Material.
-
setMaterial
void setMaterial(Material m)
Set the image material.- Parameters:
m- Material to set.
-
forceContainsFalse
void forceContainsFalse()
Force the contains method to always return false.
-
multiplySize
void multiplySize(float f)
Multiply the Image size by a given factor.- Parameters:
f- Multiply factor.
-
getBorderSize
default int getBorderSize()
-
delete
void delete()
-
-