Skip to content

enumerations

constants type of enum for Photoshop.

LayerKind

Bases: IntEnum

The kind of a layer.

Source code in photoshop/api/enumerations.py
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
class LayerKind(IntEnum):
    """The kind of a layer."""

    BlackAndWhiteLayer = 22
    BrightnessContrastLayer = 9
    ChannelMixerLayer = 12
    ColorBalanceLayer = 8
    ColorLookup = 24
    CurvesLayer = 7
    ExposureLayer = 19
    GradientFillLayer = 4
    GradientMapLayer = 13
    HueSaturationLayer = 10
    InversionLayer = 14
    Layer3D = 20
    LevelsLayer = 6
    NormalLayer = 1
    PatternFillLayer = 5
    PhotoFilterLayer = 18
    PosterizeLayer = 16
    SelectiveColorLayer = 11
    SmartObjectLayer = 17
    SolidFillLayer = 3
    TextLayer = 2
    ThresholdLayer = 15
    Vibrance = 23
    VideoLayer = 21
    ArtboardLayer = 25  # Add new type for Artboard

Last update: 2025-01-07
Created: 2025-01-07