MixrResource

MixrResource class

Class MixrResource. Resource of Channel Mixer Adjustment Layer

public sealed class MixrResource : AdjustmentLayerResource

Constructors

Name Description
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

Name Description
override 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.
override PsdVersion { get; } Gets the psd version.
override Signature { get; } Gets the signature.
Version { get; set; } Gets or sets the version.

Methods

Name Description
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

Name Description
const TypeToolKey The type tool info key.

See Also