fastpyxl.drawing.fill module

class fastpyxl.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)[source]

Bases: Serialisable

alphaBiLevel: AlphaBiLevelEffect | None
alphaCeiling: AlphaCeilingEffect | None
alphaFloor: AlphaFloorEffect | None
alphaInv: AlphaInverseEffect | None
alphaMod: AlphaModulateEffect | None
alphaModFix: AlphaModulateFixedEffect | None
alphaRepl: AlphaReplaceEffect | None
biLevel: BiLevelEffect | None
blur: BlurEffect | None
clrChange: ColorChangeEffect | None
clrRepl: ColorReplaceEffect | None
cstate: str | None
duotone: DuotoneEffect | None
embed: str | None
extLst: ExtensionList | None
fillOverlay: FillOverlayEffect | None
grayscl: GrayscaleEffect | None
hsl: HSLEffect | None
lum: LuminanceEffect | None
namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
noAdjustHandles: bool | None
noChangeArrowheads: bool | None
noChangeAspect: bool | None
noChangeShapeType: bool | None
noEditPoints: bool | None
noGrp: bool | None
noMove: bool | None
noResize: bool | None
noRot: bool | None
noSelect: bool | None
tagname = 'blip'
tint: TintEffect | None
xml_order = ('alphaBiLevel', 'alphaCeiling', 'alphaFloor', 'alphaInv', 'alphaMod', 'alphaModFix', 'alphaRepl', 'biLevel', 'blur', 'clrChange', 'clrRepl', 'duotone', 'fillOverlay', 'grayscl', 'hsl', 'lum', 'tint')
class fastpyxl.drawing.fill.BlipFillProperties(dpi=None, rotWithShape=None, blip=None, tile=None, stretch=<fastpyxl.drawing.fill.StretchInfoProperties object>, srcRect=None)[source]

Bases: Serialisable

blip: Blip | None
dpi: int | None
rotWithShape: bool | None
srcRect: RelativeRect | None
stretch: StretchInfoProperties | None
tagname = 'blipFill'
tile: TileInfoProperties | None
xml_order = ('blip', 'srcRect', 'tile', 'stretch')
class fastpyxl.drawing.fill.GradientFillProperties(flip=None, rotWithShape=None, gsLst=(), lin=None, path=None, tileRect=None)[source]

Bases: Serialisable

flip: str | None
gsLst: list[GradientStop]
lin: LinearShadeProperties | None
property linear
namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
path: PathShadeProperties | None
rotWithShape: bool | None
property stop_list
tagname = 'gradFill'
tileRect: RelativeRect | None
xml_order = ('gsLst', 'lin', 'path', 'tileRect')
class fastpyxl.drawing.fill.GradientStop(pos=None, scrgbClr=None, srgbClr=None, hslClr=None, sysClr=None, schemeClr=None, prstClr=None)[source]

Bases: Serialisable

property RGB
property RGBPercent
hslClr: HSLColor | None
namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
pos: int | None
prstClr: str | None
schemeClr: SchemeColor | None
scrgbClr: RGBPercent | None
srgbClr: str | None
sysClr: SystemColor | None
tagname = 'gs'
xml_order = ('scrgbClr', 'srgbClr', 'hslClr', 'sysClr', 'schemeClr', 'prstClr')
class fastpyxl.drawing.fill.LinearShadeProperties(ang=None, scaled=None)[source]

Bases: Serialisable

ang: int | None
namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
scaled: bool | None
tagname = 'lin'
class fastpyxl.drawing.fill.PathShadeProperties(path=None, fillToRect=None)[source]

Bases: Serialisable

fillToRect: RelativeRect | None
namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
path: str | None
tagname = 'path'
class fastpyxl.drawing.fill.PatternFillProperties(prst=None, fgClr=None, bgClr=None)[source]

Bases: Serialisable

property background
bgClr: ColorChoice | None
fgClr: ColorChoice | None
property foreground
namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
property preset
prst: str | None
tagname = 'pattFill'
xml_order = ('fgClr', 'bgClr')
class fastpyxl.drawing.fill.RelativeRect(l=None, t=None, r=None, b=None)[source]

Bases: Serialisable

b: int | None
property bottom
l: int | None
property left
namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
r: int | None
property right
t: int | None
tagname = 'rect'
property top
class fastpyxl.drawing.fill.SolidColorFillProperties(scrgbClr=None, srgbClr=None, hslClr=None, sysClr=None, schemeClr=None, prstClr=None)[source]

Bases: Serialisable

property RGB
property RGBPercent
hslClr: HSLColor | None
prstClr: str | None
schemeClr: SchemeColor | None
scrgbClr: RGBPercent | None
srgbClr: str | None
sysClr: SystemColor | None
tagname = 'solidFill'
xml_order = ('scrgbClr', 'srgbClr', 'hslClr', 'sysClr', 'schemeClr', 'prstClr')
class fastpyxl.drawing.fill.StretchInfoProperties(fillRect=<fastpyxl.drawing.fill.RelativeRect object>)[source]

Bases: Serialisable

fillRect: RelativeRect | None
namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
tagname = 'stretch'
class fastpyxl.drawing.fill.TileInfoProperties(tx=None, ty=None, sx=None, sy=None, flip=None, algn=None)[source]

Bases: Serialisable

algn: str | None
flip: str | None
sx: int | None
sy: int | None
tx: int | None
ty: int | None