org.apache.poi.sl.usermodel

## Interface PaintStyle.GradientPaint

- All Superinterfaces:
    PaintStyle
  All Known Implementing Classes:
    XSLFGradientPaint
  Enclosing interface:
    PaintStyle

      public static interface PaintStyle.GradientPaint
      extends PaintStyle

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static class` | `PaintStyle.GradientPaint.GradientType`

    - ### Nested classes/interfaces inherited from interface org.apache.poi.sl.usermodel.PaintStyle

      `PaintStyle.FlipMode, PaintStyle.GradientPaint, PaintStyle.PaintModifier, PaintStyle.SolidPaint, PaintStyle.TextureAlignment, PaintStyle.TexturePaint`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default Insets2D` | `getFillToInsets()`
    `double` | `getGradientAngle()`
    `ColorStyle[]` | `getGradientColors()`
    `float[]` | `getGradientFractions()`
    `PaintStyle.GradientPaint.GradientType` | `getGradientType()`
    `boolean` | `isRotatedWithShape()`

- - ### Method Detail

    - #### getGradientAngle

          double getGradientAngle()

      Returns:
        the angle of the gradient

    - #### getGradientColors

          ColorStyle[] getGradientColors()

    - #### getGradientFractions

          float[] getGradientFractions()

    - #### isRotatedWithShape

          boolean isRotatedWithShape()

    - #### getGradientType

          PaintStyle.GradientPaint.GradientType getGradientType()

    - #### getFillToInsets

          default Insets2D getFillToInsets()

Copyright 2020 The Apache Software Foundation or its licensors, as applicable.