Java android.graphics SweepGradient fields, constructors, methods, implement or subclass

Example usage for Java android.graphics SweepGradient fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.graphics SweepGradient.

The text is from its open source code.

Constructor

SweepGradient(float cx, float cy, @NonNull @ColorInt int colors[], @Nullable float positions[])
A Shader that draws a sweep gradient around a center point.
SweepGradient(float cx, float cy, @ColorInt int color0, @ColorInt int color1)
A Shader that draws a sweep gradient around a center point.

Method

booleangetLocalMatrix(@NonNull Matrix localM)
Return true if the shader has a non-identity local matrix.
voidsetLocalMatrix(@Nullable Matrix localM)
Set the shader's local matrix.