Paper Office
paper-xlsxAPI referencestyles.fills

PatternFill

paper-xlsx 0.2.1 API reference

Area fill patterns for use in styles. Caution: if you do not specify a fill_type, other attributes will have no effect !

PatternFill(patternType=None, fgColor=Color(), bgColor=Color(), fill_type=None, start_color=None, end_color=None)

Attributes

bgColor

attributebgColor
= bgColor

end_color

attributeend_color
= Alias('bgColor')

fgColor

attributefgColor
= fgColor

fill_type

attributefill_type
= Alias('patternType')

idx_base

attributeidx_base
= 0

namespace

attributenamespace
= None

patternType

attributepatternType
= patternType

start_color

attributestart_color
= Alias('fgColor')

tagname

attributetagname
= 'patternFill'

Functions

__iter__

func__iter__()

from_tree

funcfrom_tree(el)
paramel

to_tree

functo_tree(tagname=None, idx=None)
paramtagname
= None
paramidx
= None

On this page