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
Color
s involved in this Gradient
-
getCycleMethod
MultipleGradientPaint.CycleMethod getCycleMethod()- Returns:
- The
cycle method
involved in the Gradient
-
getColorSpace
MultipleGradientPaint.ColorSpaceType getColorSpace()- Returns:
- The
color space
involved in the Gradient
-
getGradientTransform
AffineTransform getGradientTransform()- Returns:
- The
AffineTransform
involved in the Gradient
-