-
public class GradientColor
-
-
Constructor Summary
Constructors Constructor Description GradientColor(Array<float> positions, Array<int> colors)
-
Method Summary
Modifier and Type Method Description Array<float>getPositions()Array<int>getColors()intgetSize()voidlerp(GradientColor gc1, GradientColor gc2, float progress)GradientColorcopyWithPositions(Array<float> positions)booleanequals(Object o)inthashCode()-
-
Method Detail
-
getPositions
Array<float> getPositions()
-
getSize
int getSize()
-
lerp
void lerp(GradientColor gc1, GradientColor gc2, float progress)
-
copyWithPositions
GradientColor copyWithPositions(Array<float> positions)
-
hashCode
int hashCode()
-
-
-
-