Description

class Axlsx::GradientFill

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

Creates a new GradientFill object

Parameters:

  • 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

Parameters:

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

Percentage format top

Note:

valid options are

:linear
:path

The type of gradient.

validates that the value provided is between 0.0 and 1.0

GradientFill is referenced in 0 repositories