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 aGradient
to be extended by subclasses for making more specific Gradients, e.g.GradientUIResource is simply aLinearGradient
wrapped as aPaintUIResource
so that it can be used in Tadukoo Look & Feel (or other custom Look & Feels if desired).Linear Gradient is used to build aGradient
object to use forLinearGradientPaint
.The direction for aLinearGradient
to go.Linear Gradient Builder is a builder forLinearGradient
.Linear Gradient is used to build aGradient
object to use forRadialGradientPaint
.Radial Gradient Builder is a builder forRadialGradient
.