Uses of Enum Class
com.github.tadukoo.view.paint.gradient.LinearGradient.GradientDirection
Package
Description
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.-
Uses of LinearGradient.GradientDirection in com.github.tadukoo.view.paint.gradient
Modifier and TypeFieldDescriptionprotected final LinearGradient.GradientDirection
LinearGradient.direction
The direction for this LinearGradient to go.private LinearGradient.GradientDirection
LinearGradient.LinearGradientBuilder.direction
The direction for theLinearGradient
to go.Modifier and TypeFieldDescriptionprivate BiFunction<Dimension,
LinearGradient.GradientDirection, com.github.tadukoo.util.tuple.Pair<Point2D, Point2D>> LinearGradient.LinearGradientBuilder.startAndEndPointsFunc
A function taking in the dimensions of the space and the chosenLinearGradient.GradientDirection
to return the start and end points in space for theLinearGradient
protected final BiFunction<Dimension,
LinearGradient.GradientDirection, com.github.tadukoo.util.tuple.Pair<Point2D, Point2D>> LinearGradient.startAndEndPointsFunc
A function taking in the dimensions of the space and the chosenLinearGradient.GradientDirection
to return the start and end points in space for this LinearGradientModifier and TypeMethodDescriptionLinearGradient.getDirection()
Returns the enum constant of this class with the specified name.static LinearGradient.GradientDirection[]
LinearGradient.GradientDirection.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionBiFunction<Dimension,
LinearGradient.GradientDirection, com.github.tadukoo.util.tuple.Pair<Point2D, Point2D>> LinearGradient.getStartAndEndPointsFunc()
Modifier and TypeMethodDescriptionLinearGradient.LinearGradientBuilder.direction
(LinearGradient.GradientDirection direction) Modifier and TypeMethodDescriptionLinearGradient.LinearGradientBuilder.startAndEndPointsFunc
(BiFunction<Dimension, LinearGradient.GradientDirection, com.github.tadukoo.util.tuple.Pair<Point2D, Point2D>> startAndEndPointsFunc) ModifierConstructorDescriptionprivate
LinearGradient
(LinearGradient.GradientDirection direction, BiFunction<Dimension, LinearGradient.GradientDirection, com.github.tadukoo.util.tuple.Pair<Point2D, Point2D>> startAndEndPointsFunc, float[] fractions, Color[] colors, MultipleGradientPaint.CycleMethod cycleMethod, MultipleGradientPaint.ColorSpaceType colorSpace, AffineTransform gradientTransform) Constructs a new Linear Gradient using the given parameters.ModifierConstructorDescriptionprivate
LinearGradient
(LinearGradient.GradientDirection direction, BiFunction<Dimension, LinearGradient.GradientDirection, com.github.tadukoo.util.tuple.Pair<Point2D, Point2D>> startAndEndPointsFunc, float[] fractions, Color[] colors, MultipleGradientPaint.CycleMethod cycleMethod, MultipleGradientPaint.ColorSpaceType colorSpace, AffineTransform gradientTransform) Constructs a new Linear Gradient using the given parameters.