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.GradientDirectionLinearGradient.directionThe direction for this LinearGradient to go.private LinearGradient.GradientDirectionLinearGradient.LinearGradientBuilder.directionThe direction for theLinearGradientto 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.startAndEndPointsFuncA function taking in the dimensions of the space and the chosenLinearGradient.GradientDirectionto return the start and end points in space for theLinearGradientprotected final BiFunction<Dimension,LinearGradient.GradientDirection, com.github.tadukoo.util.tuple.Pair<Point2D, Point2D>> LinearGradient.startAndEndPointsFuncA function taking in the dimensions of the space and the chosenLinearGradient.GradientDirectionto 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.GradientDirectionModifierConstructorDescriptionprivateLinearGradient(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.GradientDirectionModifierConstructorDescriptionprivateLinearGradient(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.