Class PattResource

PattResource class

Class PattResource. Resource with pattern data

public class PattResource : LayerResource

Constructors

NameDescription
PattResource()Initializes a new instance of the PattResource class.
PattResource(int, PattResourceData[])Initializes a new instance of the PattResource class.

Properties

NameDescription
Key { get; }Gets the layer resource key.
override Length { get; }Gets the layer resource length in bytes.
Patterns { get; set; }Gets or sets the patterns data;
PsdVersion { get; }Gets the minimal psd version required for layer resource. 0 indicates no restrictions.
virtual Signature { get; }Gets the signature.

Methods

NameDescription
override Save(StreamContainer, int)Saves the resource block data.
override ToString()Returns a String that represents this instance.

Fields

NameDescription
const TypeToolKeyThe ‘Patt’ type tool info key for 8-bits.
const TypeToolKey2The ‘Pat2’ type tool info key for 16-bits.
const TypeToolKey3The ‘Pat3’ type tool info key for 32-bits.

See Also