Package com.github.tadukoo.view.paint.gradient
package com.github.tadukoo.view.paint.gradient
Provides builders for making
Gradients that can be
used to span an arbitrary space (has a method to generate a Paint when given a Dimension, rather than making a
gradient paint that only works for certain dimensions.-
ClassDescriptionGradient is used to make it easier to create generic Gradient paints, as a
SizablePaint.GradientBuilder<GradientType extends Gradient>Gradient Builder is an abstract builder for aGradientto be extended by subclasses for making more specific Gradients, e.g.GradientUIResource is simply aLinearGradientwrapped as aPaintUIResourceso that it can be used in Tadukoo Look & Feel (or other custom Look & Feels if desired).Linear Gradient is used to build aGradientobject to use forLinearGradientPaint.The direction for aLinearGradientto go.Linear Gradient Builder is a builder forLinearGradient.Linear Gradient is used to build aGradientobject to use forRadialGradientPaint.Radial Gradient Builder is a builder forRadialGradient.