Package com.naver.ads.util
Object ColorUtils
-
- All Implemented Interfaces:
public class ColorUtilsMiscellaneous
Colorutility methods.
-
-
Field Summary
Fields Modifier and Type Field Description public final static ColorUtilsINSTANCE
-
Method Summary
Modifier and Type Method Description final static IntegerparseRGBAColor(String $self)Returns a corresponding Int color of this String. final static IntegersetAlphaComponent(Integer $self, Float alpha)Sets the alpha component of this color. -
-
Method Detail
-
parseRGBAColor
final static Integer parseRGBAColor(String $self)
- Returns:
The corresponding color as an int.
-
setAlphaComponent
final static Integer setAlphaComponent(Integer $self, Float alpha)
Sets the alpha component of this color.
- Parameters:
alpha- The alpha component of the color to create, in (0..- Returns:
The color as an int.
-
-
-
-