Class MixrResource

MixrResource class

Class MixrResource. Resource of Channel Mixer Adjustment Layer

public sealed class MixrResource : AdjustmentLayerResource

Constructors

NameDescription
MixrResource()Initializes a new instance of the MixrResource class. PSD format specification contains following description: 2 Version ( = 1) 2 Monochrome 20 RGB or CMYK color plus constant for the mixer settings. 4 * 2 bytes of color with 2 bytes of constant.
MixrResource(byte[])Initializes a new instance of the MixrResource class. PSD format specification contains following description: 2 Version ( = 1) 2 Monochrome 20 RGB or CMYK color plus constant for the mixer settings. 4 * 2 bytes of color with 2 bytes of constant.

Properties

NameDescription
Key { get; }Gets the layer resource key.
override Length { get; }Gets the layer resource length in bytes.
Monochrome { get; set; }Gets or sets a value indicating whether this MixrResource is monochrome.
PsdVersion { get; }Gets the minimal psd version required for layer resource. 0 indicates no restrictions.
virtual Signature { get; }Gets the signature.
Version { get; set; }Gets or sets the version.

Methods

NameDescription
GetChannelInfo(int)Gets the channel information raw data
override Save(StreamContainer, int)Saves the resource to the specified stream container.
SetChannelInfo(int, byte[])Sets the channel information.
override ToString()Returns a String that represents this instance.

Fields

NameDescription
const TypeToolKeyThe type tool info key.

See Also