Class GuiKeyframeBuilder
java.lang.Object
com.render.api.gui.GuiKeyframeBuilder
Builder used to author sparse keyframe property patches.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanimatedBorder(GuiAnimatedBorder animatedBorder) backgroundColor(int argb) Deprecated.backgroundColor(RenderColor color) borderColor(int argb) Deprecated.borderColor(RenderColor color) borderWidth(float borderWidth) color(int argb) Deprecated.Usecolor(RenderColor).color(RenderColor color) cornerRadius(float cornerRadius) gap(float gap) gradient(GuiGradient gradient) height(float height) margin(float all) margin(float vertical, float horizontal) margin(float top, float right, float bottom, float left) opacity(float opacity) padding(float all) padding(float vertical, float horizontal) padding(float top, float right, float bottom, float left) position(float x, float y) scrollOffset(float scrollOffset) size(float width, float height) style(GuiStyleProperty<T> property, T value) Sets any typed modern style property in this keyframe.textScalePixels(float pixels) textShadow(GuiShadow shadow) translate(float translateX, float translateY) translateX(float translateX) translateY(float translateY) width(float width) x(float x) y(float y)
-
Constructor Details
-
GuiKeyframeBuilder
public GuiKeyframeBuilder()
-
-
Method Details
-
style
Sets any typed modern style property in this keyframe.- Type Parameters:
T- value type- Parameters:
property- modern property metadatavalue- keyframe value- Returns:
- this builder
-
x
-
y
-
position
-
translateX
-
translateY
-
translate
-
width
-
height
-
size
-
margin
-
margin
-
margin
-
padding
-
padding
-
padding
-
gap
-
scrollOffset
-
color
-
color
Deprecated.Usecolor(RenderColor). -
backgroundColor
-
backgroundColor
Deprecated. -
borderColor
-
borderColor
Deprecated. -
borderWidth
-
cornerRadius
-
opacity
-
textScalePixels
-
textShadow
-
textGlow
-
shadow
-
glow
-
gradient
-
animatedBorder
-
backgroundColor(RenderColor).