public static class GLAudioVisualizationView.ColorsBuilder<T extends GLAudioVisualizationView.ColorsBuilder> extends Object
| Constructor and Description |
|---|
ColorsBuilder(Context context) |
| Modifier and Type | Method and Description |
|---|---|
protected T |
getThis() |
T |
setBackgroundColor(int backgroundColor)
Set background color
|
T |
setBackgroundColorRes(int backgroundColor)
Set background color from color resource
|
T |
setLayerColors(int arrayId)
Set layer colors from array resource
|
T |
setLayerColors(int[] colors)
Set layer colors.
|
public ColorsBuilder(Context context)
public T setBackgroundColor(int backgroundColor)
backgroundColor - background colorpublic T setLayerColors(int arrayId)
arrayId - array resourcepublic T setLayerColors(int[] colors)
colors - array of colorspublic T setBackgroundColorRes(int backgroundColor)
backgroundColor - color resourceprotected T getThis()