Interface Gradient
- All Superinterfaces:
SizablePaint
- All Known Implementing Classes:
GradientUIResource,LinearGradient,RadialGradient
Gradient is used to make it easier to create generic Gradient paints, as a
SizablePaint.- Since:
- Alpha v.0.2
- Version:
- Alpha v.0.2.1
- Author:
- Logan Ferree (Tadukoo)
-
Method Summary
Methods inherited from interface com.github.tadukoo.view.paint.SizablePaint
getPaint
-
Method Details
-
getFractions
float[] getFractions()- Returns:
- The fractions involved in this Gradient
-
getColors
Color[] getColors()- Returns:
- The
Colors involved in this Gradient
-
getCycleMethod
MultipleGradientPaint.CycleMethod getCycleMethod()- Returns:
- The
cycle methodinvolved in the Gradient
-
getColorSpace
MultipleGradientPaint.ColorSpaceType getColorSpace()- Returns:
- The
color spaceinvolved in the Gradient
-
getGradientTransform
AffineTransform getGradientTransform()- Returns:
- The
AffineTransforminvolved in the Gradient
-