mirror of https://github.com/FabricMC/yarn.git
35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
CLASS net/minecraft/class_5253 net/minecraft/util/math/ColorHelper
|
|
COMMENT Contains color-related helper methods.
|
|
CLASS class_5254 Argb
|
|
COMMENT Contains color-related helper methods that use ARGB colors represented
|
|
COMMENT as {@code 0xAARRGGBB}.
|
|
METHOD method_27762 getAlpha (I)I
|
|
COMMENT {@return the alpha value of {@code argb}}
|
|
COMMENT
|
|
COMMENT <p>The returned value is between {@code 0} and {@code 255} (both inclusive).
|
|
ARG 0 argb
|
|
METHOD method_27763 mixColor (II)I
|
|
ARG 0 first
|
|
ARG 1 second
|
|
METHOD method_27764 getArgb (IIII)I
|
|
COMMENT {@return the ARGB color value from its components}
|
|
ARG 0 alpha
|
|
ARG 1 red
|
|
ARG 2 green
|
|
ARG 3 blue
|
|
METHOD method_27765 getRed (I)I
|
|
COMMENT {@return the red value of {@code argb}}
|
|
COMMENT
|
|
COMMENT <p>The returned value is between {@code 0} and {@code 255} (both inclusive).
|
|
ARG 0 argb
|
|
METHOD method_27766 getGreen (I)I
|
|
COMMENT {@return the green value of {@code argb}}
|
|
COMMENT
|
|
COMMENT <p>The returned value is between {@code 0} and {@code 255} (both inclusive).
|
|
ARG 0 argb
|
|
METHOD method_27767 getBlue (I)I
|
|
COMMENT {@return the blue value of {@code argb}}
|
|
COMMENT
|
|
COMMENT <p>The returned value is between {@code 0} and {@code 255} (both inclusive).
|
|
ARG 0 argb
|