openpyxl.drawing.fill模块¶
- class openpyxl.drawing.fill.Blip(cstate=None, embed=None, link=None, noGrp=None, noSelect=None, noRot=None, noChangeAspect=None, noMove=None, noResize=None, noEditPoints=None, noAdjustHandles=None, noChangeArrowheads=None, noChangeShapeType=None, extLst=None, alphaBiLevel=None, alphaCeiling=None, alphaFloor=None, alphaInv=None, alphaMod=None, alphaModFix=None, alphaRepl=None, biLevel=None, blur=None, clrChange=None, clrRepl=None, duotone=None, fillOverlay=None, grayscl=None, hsl=None, lum=None, tint=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- alphaBiLevel¶
值的类型必须小于“openpyxl.drawing.effect.alphabileveleffect”>
- alphaCeiling¶
值的类型必须小于“openpyxl.drawing.effect.alphaceilingeffect”>
- alphaFloor¶
值的类型必须小于“openpyxl.drawing.effect.alphafloreffect”>
- alphaInv¶
值的类型必须小于“openpyxl.drawing.effect.alphainverseeffect”>
- alphaMod¶
值的类型必须小于“openpyxl.drawing.effect.alphamodulateeffect”>
- alphaModFix¶
值的类型必须小于class“openpyxl.drawing.effect.alphamodulateFixedeffect”>
- alphaRepl¶
值的类型必须小于class“openpyxl.drawing.effect.alphareplaceffect”>
- biLevel¶
值的类型必须小于class“openpyxl.drawing.effect.bileveleffect”>
- blur¶
值的类型必须小于class“openpyxl.drawing.effect.blurefect”>
- clrChange¶
值的类型必须为<class'openpyxl.drawing.effect.colorChangeffect'>
- clrRepl¶
值的类型必须小于class“openpyxl.drawing.effect.colorreplaceffect”>
- cstate¶
Value must be one of {'hqprint', 'email', 'print', 'screen'}
- duotone¶
值的类型必须小于class“openpyxl.drawing.effect.duotoneeffect”>
- embed¶
值的类型必须小于class'str'>
- extLst¶
值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
- fillOverlay¶
值的类型必须小于class“openpyxl.drawing.effect.fillOverlayeffect”>
- grayscl¶
值的类型必须小于class“openpyxl.drawing.effect.grayscaleeeffect”>
- hsl¶
值的类型必须小于class“openpyxl.drawing.effect.hsleffect”>
- link¶
值的类型必须小于class'str'>
- lum¶
值的类型必须小于“openpyxl.drawing.effect.luminanceffect”>
- namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'¶
- noAdjustHandles¶
值的类型必须小于class'bool'>
- noChangeArrowheads¶
值的类型必须小于class'bool'>
- noChangeAspect¶
值的类型必须小于class'bool'>
- noChangeShapeType¶
值的类型必须小于class'bool'>
- noEditPoints¶
值的类型必须小于class'bool'>
- noGrp¶
值的类型必须小于class'bool'>
- noMove¶
值的类型必须小于class'bool'>
- noResize¶
值的类型必须小于class'bool'>
- noRot¶
值的类型必须小于class'bool'>
- noSelect¶
值的类型必须小于class'bool'>
- tagname = 'blip'¶
- tint¶
值的类型必须小于class“openpyxl.drawing.effect.tintffect”>
- class openpyxl.drawing.fill.BlipFillProperties(dpi=None, rotWithShape=None, blip=None, tile=None, stretch=<openpyxl.drawing.fill.StretchInfoProperties object> Parameters: fillRect=<openpyxl.drawing.fill.RelativeRect object> Parameters: l=None, t=None, r=None, b=None, srcRect=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- blip¶
值的类型必须小于class“openpyxl.drawing.fill.blip”>
- dpi¶
值的类型必须小于class“int”>
- rotWithShape¶
值的类型必须小于class'bool'>
- srcRect¶
值的类型必须小于class“openpyxl.drawing.fill.relativect”>
- stretch¶
值的类型必须小于class“openpyxl.drawing.fill.StretchinoProperties”>
- tagname = 'blipFill'¶
- tile¶
值的类型必须小于class“openpyxl.drawing.fill.tileinfooproperties”>
- class openpyxl.drawing.fill.GradientFillProperties(flip=None, rotWithShape=None, gsLst=(), lin=None, path=None, tileRect=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- flip¶
Value must be one of {'xy', 'y', 'x'}
- gsLst¶
在包含对象中包装序列
- lin¶
值的类型必须小于“openpyxl.drawing.fill.linearshadeProperties”>
- linear¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。
- namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'¶
- path¶
值的类型必须小于class“openpyxl.drawing.fill.pathshadeProperties”>
- rotWithShape¶
值的类型必须小于class'bool'>
- stop_list¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。
- tagname = 'gradFill'¶
- tileRect¶
值的类型必须小于class“openpyxl.drawing.fill.relativect”>
- class openpyxl.drawing.fill.GradientStop(pos=None, scrgbClr=None, srgbClr=None, hslClr=None, sysClr=None, schemeClr=None, prstClr=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- RGB¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。
- RGBPercent¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。
- hslClr¶
值的类型必须小于class“openpyxl.drawing.colors.hslcolor”>
- namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'¶
- pos¶
值的类型必须小于class“float”>
- prstClr¶
Value must be one of {'orchid', 'ltSalmon', 'ltCyan', 'rosyBrown', 'dkGrey', 'lightGray', 'grey', 'saddleBrown', 'orange', 'chocolate', 'brown', 'dodgerBlue', 'gray', 'burlyWood', 'antiqueWhite', 'moccasin', 'bisque', 'dkBlue', 'medSpringGreen', 'aliceBlue', 'fuchsia', 'navy', 'blue', 'tomato', 'powderBlue', 'dkOliveGreen', 'limeGreen', 'dkMagenta', 'ltSlateGray', 'indianRed', 'mistyRose', 'ltYellow', 'paleGreen', 'darkSlateBlue', 'yellow', 'lightSlateGray', 'azure', 'orangeRed', 'mediumAquamarine', 'violet', 'dkSlateGray', 'forestGreen', 'wheat', 'ltSkyBlue', 'darkSlateGray', 'ltGrey', 'mediumVioletRed', 'darkGreen', 'plum', 'paleTurquoise', 'indigo', 'thistle', 'navajoWhite', 'lightCoral', 'lightYellow', 'coral', 'hotPink', 'paleVioletRed', 'dkTurquoise', 'dkSlateGrey', 'linen', 'ltPink', 'darkOrchid', 'ltGoldenrodYellow', 'ltGreen', 'pink', 'ltBlue', 'dkKhaki', 'royalBlue', 'turquoise', 'lightSteelBlue', 'yellowGreen', 'lavender', 'ltCoral', 'mediumOrchid', 'medAquamarine', 'dkCyan', 'greenYellow', 'slateBlue', 'darkGray', 'lightSkyBlue', 'oliveDrab', 'dimGrey', 'darkMagenta', 'mediumBlue', 'medSlateBlue', 'dkSalmon', 'lightSeaGreen', 'skyBlue', 'ghostWhite', 'tan', 'medVioletRed', 'dkSeaGreen', 'darkSeaGreen', 'peachPuff', 'mediumTurquoise', 'magenta', 'blanchedAlmond', 'aquamarine', 'papayaWhip', 'red', 'goldenrod', 'springGreen', 'steelBlue', 'lemonChiffon', 'darkViolet', 'maroon', 'darkCyan', 'mediumSeaGreen', 'ltSeaGreen', 'ltSlateGrey', 'cyan', 'darkGrey', 'dkSlateBlue', 'lightGreen', 'dkRed', 'gainsboro', 'mintCream', 'dimGray', 'deepPink', 'paleGoldenrod', 'dkGray', 'beige', 'cornflowerBlue', 'dkOrchid', 'lime', 'medOrchid', 'green', 'floralWhite', 'crimson', 'mediumSlateBlue', 'olive', 'salmon', 'darkGoldenrod', 'darkKhaki', 'lightGoldenrodYellow', 'lightPink', 'teal', 'firebrick', 'ivory', 'white', 'silver', 'darkSlateGrey', 'cadetBlue', 'dkGreen', 'dkViolet', 'dkOrange', 'lightSalmon', 'snow', 'lavenderBlush', 'chartreuse', 'darkBlue', 'medBlue', 'honeydew', 'mediumPurple', 'medSeaGreen', 'aqua', 'medPurple', 'darkRed', 'midnightBlue', 'lightGrey', 'oldLace', 'lightCyan', 'slateGrey', 'whiteSmoke', 'dkGoldenrod', 'sandyBrown', 'darkSalmon', 'blueViolet', 'sienna', 'darkOliveGreen', 'seaShell', 'lawnGreen', 'slateGray', 'deepSkyBlue', 'gold', 'darkTurquoise', 'mediumSpringGreen', 'ltGray', 'cornsilk', 'darkOrange', 'peru', 'black', 'seaGreen', 'khaki', 'lightSlateGrey', 'medTurquoise', 'ltSteelBlue', 'lightBlue', 'purple'}
- schemeClr¶
值的类型必须小于class“openpyxl.drawing.colors.schemecolor”>
- scrgbClr¶
值的类型必须小于class“openpyxl.drawing.colors.rgbPercent”>
- srgbClr¶
值的类型必须小于class'str'>
- sysClr¶
值的类型必须小于class“openpyxl.drawing.colors.systemcolor”>
- tagname = 'gs'¶
- class openpyxl.drawing.fill.LinearShadeProperties(ang=None, scaled=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- ang¶
值的类型必须小于class“int”>
- namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'¶
- scaled¶
值的类型必须小于class'bool'>
- tagname = 'lin'¶
- class openpyxl.drawing.fill.PathShadeProperties(path=None, fillToRect=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- fillToRect¶
值的类型必须小于class“openpyxl.drawing.fill.relativect”>
- namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'¶
- path¶
Value must be one of {'shape', 'circle', 'rect'}
- tagname = 'path'¶
- class openpyxl.drawing.fill.PatternFillProperties(prst=None, fgClr=None, bgClr=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- background¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。
- bgClr¶
值的类型必须小于class“openpyxl.drawing.colors.colorchoice”>
- fgClr¶
值的类型必须小于class“openpyxl.drawing.colors.colorchoice”>
- foreground¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。
- namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'¶
- preset¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。
- prst¶
Value must be one of {'wdDnDiag', 'diagBrick', 'zigZag', 'pct80', 'dnDiag', 'wave', 'dashDnDiag', 'solidDmnd', 'ltVert', 'horzBrick', 'smGrid', 'pct30', 'upDiag', 'openDmnd', 'diagCross', 'dkUpDiag', 'ltHorz', 'pct60', 'dkHorz', 'pct20', 'lgCheck', 'weave', 'cross', 'dashHorz', 'pct90', 'dotDmnd', 'wdUpDiag', 'pct75', 'ltDnDiag', 'sphere', 'pct25', 'pct50', 'lgConfetti', 'narVert', 'lgGrid', 'dotGrid', 'narHorz', 'dashUpDiag', 'vert', 'pct40', 'smCheck', 'dkDnDiag', 'pct70', 'smConfetti', 'dashVert', 'pct5', 'ltUpDiag', 'horz', 'dkVert', 'divot', 'trellis', 'plaid', 'shingle', 'pct10'}
- tagname = 'pattFill'¶
- class openpyxl.drawing.fill.RelativeRect(l=None, t=None, r=None, b=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- b¶
值的类型必须小于class“float”>
- bottom¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。
- l¶
值的类型必须小于class“float”>
- left¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。
- namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'¶
- r¶
值的类型必须小于class“float”>
- right¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。
- t¶
值的类型必须小于class“float”>
- tagname = 'rect'¶
- top¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。
- class openpyxl.drawing.fill.SolidColorFillProperties(scrgbClr=None, srgbClr=None, hslClr=None, sysClr=None, schemeClr=None, prstClr=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- RGB¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。
- RGBPercent¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。
- hslClr¶
值的类型必须小于class“openpyxl.drawing.colors.hslcolor”>
- prstClr¶
Value must be one of {'orchid', 'ltSalmon', 'ltCyan', 'rosyBrown', 'dkGrey', 'lightGray', 'grey', 'saddleBrown', 'orange', 'chocolate', 'brown', 'dodgerBlue', 'gray', 'burlyWood', 'antiqueWhite', 'moccasin', 'bisque', 'dkBlue', 'medSpringGreen', 'aliceBlue', 'fuchsia', 'navy', 'blue', 'tomato', 'powderBlue', 'dkOliveGreen', 'limeGreen', 'dkMagenta', 'ltSlateGray', 'indianRed', 'mistyRose', 'ltYellow', 'paleGreen', 'darkSlateBlue', 'yellow', 'lightSlateGray', 'azure', 'orangeRed', 'mediumAquamarine', 'violet', 'dkSlateGray', 'forestGreen', 'wheat', 'ltSkyBlue', 'darkSlateGray', 'ltGrey', 'mediumVioletRed', 'darkGreen', 'plum', 'paleTurquoise', 'indigo', 'thistle', 'navajoWhite', 'lightCoral', 'lightYellow', 'coral', 'hotPink', 'paleVioletRed', 'dkTurquoise', 'dkSlateGrey', 'linen', 'ltPink', 'darkOrchid', 'ltGoldenrodYellow', 'ltGreen', 'pink', 'ltBlue', 'dkKhaki', 'royalBlue', 'turquoise', 'lightSteelBlue', 'yellowGreen', 'lavender', 'ltCoral', 'mediumOrchid', 'medAquamarine', 'dkCyan', 'greenYellow', 'slateBlue', 'darkGray', 'lightSkyBlue', 'oliveDrab', 'dimGrey', 'darkMagenta', 'mediumBlue', 'medSlateBlue', 'dkSalmon', 'lightSeaGreen', 'skyBlue', 'ghostWhite', 'tan', 'medVioletRed', 'dkSeaGreen', 'darkSeaGreen', 'peachPuff', 'mediumTurquoise', 'magenta', 'blanchedAlmond', 'aquamarine', 'papayaWhip', 'red', 'goldenrod', 'springGreen', 'steelBlue', 'lemonChiffon', 'darkViolet', 'maroon', 'darkCyan', 'mediumSeaGreen', 'ltSeaGreen', 'ltSlateGrey', 'cyan', 'darkGrey', 'dkSlateBlue', 'lightGreen', 'dkRed', 'gainsboro', 'mintCream', 'dimGray', 'deepPink', 'paleGoldenrod', 'dkGray', 'beige', 'cornflowerBlue', 'dkOrchid', 'lime', 'medOrchid', 'green', 'floralWhite', 'crimson', 'mediumSlateBlue', 'olive', 'salmon', 'darkGoldenrod', 'darkKhaki', 'lightGoldenrodYellow', 'lightPink', 'teal', 'firebrick', 'ivory', 'white', 'silver', 'darkSlateGrey', 'cadetBlue', 'dkGreen', 'dkViolet', 'dkOrange', 'lightSalmon', 'snow', 'lavenderBlush', 'chartreuse', 'darkBlue', 'medBlue', 'honeydew', 'mediumPurple', 'medSeaGreen', 'aqua', 'medPurple', 'darkRed', 'midnightBlue', 'lightGrey', 'oldLace', 'lightCyan', 'slateGrey', 'whiteSmoke', 'dkGoldenrod', 'sandyBrown', 'darkSalmon', 'blueViolet', 'sienna', 'darkOliveGreen', 'seaShell', 'lawnGreen', 'slateGray', 'deepSkyBlue', 'gold', 'darkTurquoise', 'mediumSpringGreen', 'ltGray', 'cornsilk', 'darkOrange', 'peru', 'black', 'seaGreen', 'khaki', 'lightSlateGrey', 'medTurquoise', 'ltSteelBlue', 'lightBlue', 'purple'}
- schemeClr¶
值的类型必须小于class“openpyxl.drawing.colors.schemecolor”>
- scrgbClr¶
值的类型必须小于class“openpyxl.drawing.colors.rgbPercent”>
- srgbClr¶
值的类型必须小于class'str'>
- sysClr¶
值的类型必须小于class“openpyxl.drawing.colors.systemcolor”>
- tagname = 'solidFill'¶
- class openpyxl.drawing.fill.StretchInfoProperties(fillRect=<openpyxl.drawing.fill.RelativeRect object> Parameters: l=None, t=None, r=None, b=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- fillRect¶
值的类型必须小于class“openpyxl.drawing.fill.relativect”>
- namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'¶
- tagname = 'stretch'¶
- class openpyxl.drawing.fill.TileInfoProperties(tx=None, ty=None, sx=None, sy=None, flip=None, algn=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- algn¶
Value must be one of {'tr', 'ctr', 'r', 'br', 'l', 't', 'b', 'bl', 'tl'}
- flip¶
Value must be one of {'xy', 'y', 'x'}
- sx¶
值的类型必须小于class“int”>
- sy¶
值的类型必须小于class“int”>
- tx¶
值的类型必须小于class“int”>
- ty¶
值的类型必须小于class“int”>