Package de.chaoswg.gui
Klasse SizeUI
java.lang.Object
de.chaoswg.gui.SizeUI
UI Helfer Größe
- Seit:
- 0.0.5
- Autor:
- noci
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidadd(float x, float y) voidvoiddivi(float x, float y) voidstatic SizeUIfindSizeFromElement(SizeUI sizeFromParent, net.risingworld.api.ui.UIElement eintrag) static SizeUIfindSizeFromElement(SizeUI sizeFromParent, net.risingworld.api.ui.UIElement eintrag, boolean debug) static SizeUIfindSizeFromParent(net.risingworld.api.objects.Player player, net.risingworld.api.ui.UIElement parent) static SizeUIfindSizeFromParent(net.risingworld.api.objects.Player player, net.risingworld.api.ui.UIElement parent, boolean debug) static floatgetPercent(float sizeFromParent, float value) static floatgetPixel(float sizeFromParent, net.risingworld.api.ui.style.StyleLength value) static floatgetPixel(float sizeFromParent, net.risingworld.api.ui.style.StyleLength value, boolean debug) floatgetX()floatgetY()voidmulti(float x, float y) voidstatic SizeUIOuterStyle(SizeUI sizeFromParent, net.risingworld.api.ui.style.Style style) static SizeUIOuterStyle(SizeUI sizeFromParent, net.risingworld.api.ui.style.Style style, boolean debug) static SizeUIOuterStyle(SizeUI sizeFromParent, net.risingworld.api.ui.style.Style style, int direction) static SizeUIOuterStyle(SizeUI sizeFromParent, net.risingworld.api.ui.style.Style style, int direction, boolean debug) voidsetX(float x) voidsetY(float y) voidsubtract(float x, float y) voidtoString()
-
Konstruktordetails
-
SizeUI
public SizeUI() -
SizeUI
-
SizeUI
public SizeUI(float x, float y)
-
-
Methodendetails
-
getX
public float getX() -
setX
public void setX(float x) -
getY
public float getY() -
setY
public void setY(float y) -
toString
-
getPixel
public static float getPixel(float sizeFromParent, net.risingworld.api.ui.style.StyleLength value) -
getPixel
public static float getPixel(float sizeFromParent, net.risingworld.api.ui.style.StyleLength value, boolean debug) -
getPercent
public static float getPercent(float sizeFromParent, float value) - Parameter:
sizeFromParent-value-- Gibt zurück:
- Seit:
- 0.0.9
-
OuterStyle
-
OuterStyle
-
OuterStyle
-
OuterStyle
-
findSizeFromParent
public static SizeUI findSizeFromParent(net.risingworld.api.objects.Player player, net.risingworld.api.ui.UIElement parent) -
findSizeFromParent
public static SizeUI findSizeFromParent(net.risingworld.api.objects.Player player, net.risingworld.api.ui.UIElement parent, boolean debug) -
findSizeFromElement
-
findSizeFromElement
-
subtract
-
subtract
public void subtract(float x, float y) -
add
-
add
public void add(float x, float y) -
multi
-
multi
public void multi(float x, float y) -
divi
-
divi
public void divi(float x, float y)
-