class Axlsx::GradientFill

A GradientFill defines the color and positioning for gradiant cell fill.

Creates a new GradientFill object


  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • type (Symbol)
  • degree (Float)
  • left (Float)
  • right (Float)
  • top (Float)
  • bottom (Float)

Percentage format bottom

Angle of the linear gradient

Percentage format left

Percentage format right

Collection of stop objects

Serializes the object


  • str (String) (defaults to: '')

Percentage format top


valid options are


The type of gradient.

validates that the value provided is between 0.0 and 1.0

GradientFill is referenced in 0 repositories