Uses of Enum Class
com.github.tadukoo.view.paint.gradient.LinearGradient.GradientDirection
Packages that use 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
Fields in com.github.tadukoo.view.paint.gradient declared as LinearGradient.GradientDirectionModifier 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.Fields in com.github.tadukoo.view.paint.gradient with type parameters of type LinearGradient.GradientDirectionModifier 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 LinearGradientMethods in com.github.tadukoo.view.paint.gradient that return LinearGradient.GradientDirectionModifier 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.Methods in com.github.tadukoo.view.paint.gradient that return types with arguments of type LinearGradient.GradientDirectionModifier and TypeMethodDescriptionBiFunction<Dimension,
LinearGradient.GradientDirection, com.github.tadukoo.util.tuple.Pair<Point2D, Point2D>> LinearGradient.getStartAndEndPointsFunc()
Methods in com.github.tadukoo.view.paint.gradient with parameters of type LinearGradient.GradientDirectionModifier and TypeMethodDescriptionLinearGradient.LinearGradientBuilder.direction
(LinearGradient.GradientDirection direction) Method parameters in com.github.tadukoo.view.paint.gradient with type arguments of type LinearGradient.GradientDirectionModifier and TypeMethodDescriptionLinearGradient.LinearGradientBuilder.startAndEndPointsFunc
(BiFunction<Dimension, LinearGradient.GradientDirection, com.github.tadukoo.util.tuple.Pair<Point2D, Point2D>> startAndEndPointsFunc) Constructors in com.github.tadukoo.view.paint.gradient with parameters of type LinearGradient.GradientDirectionModifierConstructorDescriptionprivate
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.Constructor parameters in com.github.tadukoo.view.paint.gradient with type arguments of type LinearGradient.GradientDirectionModifierConstructorDescriptionprivate
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.