Inherits from NSObject
Declared in PSDLayer.h
PSDLayer.m

Tasks

  •   name

    The name of the layer. I believe this must be 16 characters or less.

    property
  •   imageData

    The image data in RGBA or RGB format, depending on whether the PSDWriter.layerChannelCount is set to 4 or 3, respectively.

    property
  •   opacity

    The opacity of the layer between 0 and 1.

    property
  •   rect

    The rectangle the layer should be placed within in the PSD. Note that scaling is not currently supported, so you should really only adjust the origin of this rect to move the imageData around within the PSD.

    property

Properties

imageData

The image data in RGBA or RGB format, depending on whether the PSDWriter.layerChannelCount is set to 4 or 3, respectively.

@property (nonatomic, retain) NSData *imageData

Discussion

The image data in RGBA or RGB format, depending on whether the PSDWriter.layerChannelCount is set to 4 or 3, respectively.

Declared In

PSDLayer.h

name

The name of the layer. I believe this must be 16 characters or less.

@property (nonatomic, retain) NSString *name

Discussion

The name of the layer. I believe this must be 16 characters or less.

Declared In

PSDLayer.h

opacity

The opacity of the layer between 0 and 1.

@property (nonatomic, assign) float opacity

Discussion

The opacity of the layer between 0 and 1.

Declared In

PSDLayer.h

rect

The rectangle the layer should be placed within in the PSD. Note that scaling is not currently supported, so you should really only adjust the origin of this rect to move the imageData around within the PSD.

@property (nonatomic, assign) CGRect rect

Discussion

The rectangle the layer should be placed within in the PSD. Note that scaling is not currently supported, so you should really only adjust the origin of this rect to move the imageData around within the PSD.

Declared In

PSDLayer.h