@musallam/photoshop-client
    Preparing search index...

    Interface DocumentOperationLayer

    interface DocumentOperationLayer {
        add?: LayerPosition;
        adjustments?: AdjustmentDetails;
        blendOptions?: BlendDetails;
        bounds?: Bounds;
        children?: ChildrenLayerDetails[];
        delete: DeleteDetails;
        edit?: DocumentOperationLayerEdit;
        fill?: FillDetails;
        fillToCanvas?: boolean;
        horizontalAlign?: PhotoshopClient.HorizontalAlignType;
        id: number;
        index?: number;
        input?: StorageDetails;
        locked?: boolean;
        mask?: MaskDetails;
        move?: MoveDetails;
        name?: string;
        smartObject?: SmartObject;
        text?: TextLayerDetails;
        type?: PhotoshopClient.LayerType;
        verticalAlign?: PhotoshopClient.VerticalAlignType;
        visible?: boolean;
    }
    Index

    Properties

    adjustments?: AdjustmentDetails
    blendOptions?: BlendDetails
    bounds?: Bounds

    A tree of layer objects representing the PSD layer structure extracted from the PSD document.

    Indicates the layer to edit, by it's ID or name. Note the object is currently empty but leaves room for further enhancements. The layer block should contain changes from the original manifest. If you apply it to a group layer, you will be affecting the attributes of the group layer itself, not the child layers. This edit is supported for layer type smartObject and fillLayer only.

    fillToCanvas?: boolean

    Indicates if the pixels need to proportionally fill into the entire canvas of the document.

    id: number

    The layer ID.

    index?: number

    The layer index. Required when deleting a layer, otherwise not used.

    locked?: boolean

    is the layer locked

    name?: string
    smartObject?: SmartObject
    visible?: boolean

    is the layer visible