ooodev.format.inner.partial.area.transparency.transparency_partial module
- class ooodev.format.inner.partial.area.transparency.transparency_partial.TransparencyPartial(factory_name, component, lo_inst=None)[source]
Bases:
objectPartial class for FillColor.
- Parameters:
factory_name (str) –
component (Any) –
lo_inst (LoInst | None) –
- __init__(factory_name, component, lo_inst=None)[source]
- Parameters:
factory_name (str) –
component (Any) –
lo_inst (LoInst | None) –
- Return type:
None
- style_area_transparency_transparency(value=0)[source]
Style Area Color.
- Parameters:
value (Intensity, int, optional) – Specifies the transparency value from
0to100.- Raises:
CancelEventError – If the event
before_style_area_transparency_transparencyis cancelled and not handled.- Returns:
FillColor instance or
Noneif cancelled.- Return type:
TransparencyT | None
Hint
The value of
0is fully opaque.The value of
100is fully transparent.Intensitycan be imported fromooodev.utils.data_type.intensity
- style_area_transparency_transparency_get()[source]
Gets the Area Transparency Style.
- Raises:
CancelEventError – If the event
before_style_area_transparency_transparency_getis cancelled and not handled.- Returns:
Area transparency style or
Noneif cancelled.- Return type:
TransparencyT | None