# Uses of Enum
com.evopdf.GradientDirection

- ## Uses of GradientDirection in com.evopdf

  Methods in com.evopdf that return GradientDirection
  Modifier and Type
  Method
  Description
  `GradientDirection`
  GradientColor.`gradientDirection()`
  Gets the gradient direction
  `static GradientDirection`
  GradientDirection.`valueOf(String name)`
  Returns the enum constant of this type with the specified name.
  `static GradientDirection[]`
  GradientDirection.`values()`
  Returns an array containing the constants of this enum type, in the order they are declared.
  Methods in com.evopdf with parameters of type GradientDirection
  Modifier and Type
  Method
  Description
  `void`
  GradientColor.`setGradientDirection(GradientDirection gradientDirection)`
  Sets the gradient direction
  Constructors in com.evopdf with parameters of type GradientDirection
  Modifier
  Constructor
  Description
  ``
  `GradientColor(GradientDirection direction, RgbColor start, RgbColor end)`
  Gradient constructor