View definition

def Axlsx::Styles#parse_fill_options

Defined in github.com/randym/axlsx/lib/axlsx/stylesheet/styles.rb

Description

Note:

noop if :bg_color is not specified in options

parses add_style options for fills. If the options hash contains :type => :dxf we return a Fill object. If not, we return the index of the fill after being added to the fills collection.

Parameters:

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

    a customizable set of options

Options Hash (options):

  • bg_color (String)

    The rgb color to apply to the fill

parse_fill_options is referenced in 0 repositories