Skip to content

EffectStroke

src.helpers.effects.EffectStroke

Bases: TypedDict

Layer Effect: Stroke

Source code in src\helpers\effects.py
26
27
28
29
30
31
32
33
34
35
36
class EffectStroke(TypedDict):
    """Layer Effect: Stroke"""
    type: Literal['stroke']
    weight: NotRequired[int]
    color: SolidColor
    opacity: NotRequired[int]
    style: Literal[
        'in', 'insetFrame',
        'out', 'outsetFrame',
        'center', 'centeredFrame'
    ]