Example usage for Java android.graphics RadialGradient fields, constructors, methods, implement or subclass
The text is from its open source code.
RadialGradient(float centerX, float centerY, float radius, @NonNull @ColorInt int colors[], @Nullable float stops[], @NonNull TileMode tileMode) Create a shader that draws a radial gradient given the center and radius. | |
RadialGradient(float centerX, float centerY, float radius, @ColorInt int centerColor, @ColorInt int edgeColor, @NonNull TileMode tileMode) Create a shader that draws a radial gradient given the center and radius. |