Package com.independentsoft.office.spreadsheet.styles

# Class Fill

java.lang.Object
com.independentsoft.office.spreadsheet.styles.Fill

public class Fill extends Object
The Class Fill.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Fill()`
  Instantiates a new fill.
  `Fill​(InternalXMLStreamReader reader)`
  Instantiates a new fill.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Fill`
  `clone()`
  `GradientFill`
  `getGradient()`
  Gets the gradient.
  `PatternFill`
  `getPattern()`
  Gets the pattern.
  `void`
  `setGradient​(GradientFill gradient)`
  Sets the gradient.
  `void`
  `setPattern​(PatternFill pattern)`
  Sets the pattern.
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### Fill

    public Fill()
    Instantiates a new fill.

  - ### Fill

    public Fill​(InternalXMLStreamReader reader) throws XMLStreamException
    Instantiates a new fill.
    Parameters:
      `reader` - the reader
    Throws:
      `XMLStreamException` - the xML stream exception

- ## Method Details

  - ### clone

    public Fill clone()
    Overrides:
      `clone` in class `Object`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### getGradient

    public GradientFill getGradient()
    Gets the gradient.
    Returns:
      the gradient

  - ### setGradient

    public void setGradient​(GradientFill gradient)
    Sets the gradient.
    Parameters:
      `gradient` - the new gradient

  - ### getPattern

    public PatternFill getPattern()
    Gets the pattern.
    Returns:
      the pattern

  - ### setPattern

    public void setPattern​(PatternFill pattern)
    Sets the pattern.
    Parameters:
      `pattern` - the new pattern