types ¶
Classes:
-
Coordinates– -
XxpandMode–Expand/inpand mode
Attributes:
-
GenericMaskT–Deprecated alias of MaskLike
-
MaskLike–Type alias for anything that can resolve to a mask.
MaskLike module-attribute ¶
MaskLike = Union[
VideoNode,
Callable[[VideoNode, VideoNode], VideoNode],
EdgeDetectLike,
RidgeDetectLike,
GeneralMask,
str,
]
Type alias for anything that can resolve to a mask.
Coordinates ¶
Bases: tuple[int, ...], CustomEnum
Methods:
Attributes:
-
CORNERS– -
DIAMOND– -
HORIZONTAL– -
RECTANGLE– -
VERTICAL–
from_iter classmethod ¶
from_iter(iter: int) -> Coordinates
Source code in vsmasktools/types.py
43 44 45 | |
from_xxpand_mode classmethod ¶
from_xxpand_mode(xxpand_mode: XxpandMode, iter: int = 1) -> Coordinates
Source code in vsmasktools/types.py
47 48 49 50 51 52 | |
XxpandMode ¶
Bases: CustomEnum
Expand/inpand mode
Attributes: