Source code for ooodev.format.writer.direct.shape.transparency.transparency

from __future__ import annotations
from typing import TYPE_CHECKING

from ooodev.format.inner.direct.write.fill.transparent.transparency import Transparency as FillTransparency

if TYPE_CHECKING:
    from ooodev.utils.data_type.intensity import Intensity


[docs]class Transparency(FillTransparency): """ Fill Transparency .. seealso:: - :ref:`help_writer_format_direct_shape_transparency_transparency` .. versionadded:: 0.9.0 """
[docs] def __init__(self, value: Intensity | int = 0) -> None: """ Constructor Args: value (Intensity, int, optional): Specifies the transparency value from ``0`` to ``100``. Returns: None: See Also: - :ref:`help_writer_format_direct_shape_transparency_transparency` """ super().__init__(value)