ooodev.format.inner.direct.write.char.border.shadow module
- class ooodev.format.inner.direct.write.char.border.shadow.Shadow(*, location=ShadowLocation.BOTTOM_RIGHT, color=8421504, transparent=False, width=1.76)[source]
Bases:
ShadowStructShadow struct
Any properties starting with
prop_set or get current instance values.All methods starting with
fmt_can be used to chain together properties.See also
New in version 0.9.0.
- __init__(*, location=ShadowLocation.BOTTOM_RIGHT, color=8421504, transparent=False, width=1.76)[source]
Constructor
- Parameters:
location (ShadowLocation, optional) – contains the location of the shadow. Default to
ShadowLocation.BOTTOM_RIGHT.color (
Color, optional) – contains the color value of the shadow. Defaults toStandardColor.GRAY.transparent (bool, optional) – Shadow transparency. Defaults to False.
width (float, UnitT, optional) – contains the size of the shadow (in
mmunits) or Class UnitT. Defaults to1.76.
- Raises:
ValueError – If
colororwidthare less than zero.- Return type:
None
See also