ooodev.format.writer.modify.page.footer.transparency package
Module contents
- class ooodev.format.writer.modify.page.footer.transparency.Gradient(*, style=GradientStyle.LINEAR, offset=Offset(x=50, y=50), angle=0, border=0, grad_intensity=IntensityRange(start=100, end=100), style_name=WriterStylePageKind.STANDARD, style_family='PageStyles')[source]
Bases:
Gradient
Page Footer Transparent Gradient
New in version 0.9.0.
- __init__(*, style=GradientStyle.LINEAR, offset=Offset(x=50, y=50), angle=0, border=0, grad_intensity=IntensityRange(start=100, end=100), style_name=WriterStylePageKind.STANDARD, style_family='PageStyles')[source]
Constructor
- Parameters:
style (GradientStyle, optional) – Specifies the style of the gradient. Defaults to
GradientStyle.LINEAR
.offset (offset, optional) – Specifies the X-coordinate (start) and Y-coordinate (end), where the gradient begins. X is effectively the center of the
RADIAL
,ELLIPTICAL
,SQUARE
andRECT
style gradients. Defaults toOffset(50, 50)
.angle (Angle, int, optional) – Specifies angle of the gradient. Defaults to
0
.border (int, optional) – Specifies percent of the total width where just the start color is used. Defaults to
0
.grad_intensity (IntensityRange, optional) – Specifies the intensity at the start point and stop point of the gradient. Defaults to
IntensityRange(0, 0)
.style_name (WriterStylePageKind, str, optional) – Specifies the Page Style that instance applies to. Default is Default Page Style.
style_family (str, optional) – Style family. Default
PageStyles
.
- Return type:
None
- property prop_format_kind: FormatKind
Gets the kind of style
- Return type:
- class ooodev.format.writer.modify.page.footer.transparency.Transparency(*, value=0, style_name=WriterStylePageKind.STANDARD, style_family='PageStyles')[source]
Bases:
Transparency
Footer Transparent Transparency
New in version 0.9.0.
- __init__(*, value=0, style_name=WriterStylePageKind.STANDARD, style_family='PageStyles')[source]
Constructor
- Parameters:
value (Intensity, int, optional) – Specifies the transparency value from
0
to100
.style_name (WriterStylePageKind, str, optional) – Specifies the Page Style that instance applies to. Default is Default Page Style.
style_family (str, optional) – Style family. Default
PageStyles
.
- Return type:
None
- property prop_format_kind: FormatKind
Gets the kind of style
- Return type: