Source code for ooodev.format.proto.area.transparency.transparency_t

from __future__ import annotations
from typing import Any, overload, TYPE_CHECKING
import uno

from ooodev.format.proto.style_multi_t import StyleMultiT
from ooodev.mock.mock_g import DOCS_BUILDING

if TYPE_CHECKING or DOCS_BUILDING:
    from typing_extensions import Protocol
    from ooodev.utils.data_type.intensity import Intensity
else:
    Protocol = object
    Intensity = None


[docs]class TransparencyT(StyleMultiT, Protocol): """Fill Area Transparency Protocol"""
[docs] def __init__(self, value: Intensity | int = ...) -> None: ...
@property def prop_value(self) -> Intensity: """Gets/Sets Transparency value""" ... @prop_value.setter def prop_value(self, value: Intensity | int) -> None: ... @overload @classmethod def from_obj(cls, obj: Any) -> TransparencyT: ... @overload @classmethod def from_obj(cls, obj: Any, **kwargs) -> TransparencyT: ... # region Properties @property def default(self) -> TransparencyT: # type: ignore[misc] """Gets Transparency Default.""" ...
# endregion Properties