Class BritResource

BritResource class

Class BritResource. Resource of Brightness/Contrast Adjustment Layer

public class BritResource : AdjustmentLayerResource

Constructors

NameDescription
BritResource()Initializes a new instance of the BritResource class.
BritResource(byte[])Initializes a new instance of the BritResource class. PSD format specification contains following description: 2 Brightness 2 Contrast 2 Mean value for brightness and contrast 1 Lab color only It is not used in modern PSD(CS5 and up) where CgEd is. CgEd stores info properties
BritResource(short, short, short, bool)Initializes a new instance of the BritResource class.

Properties

NameDescription
Brightness { get; set; }Gets or sets the brightness.
Contrast { get; set; }Gets or sets the contrast.
override Key { get; }Gets the layer resource key.
LabColor { get; set; }Gets or sets a value indicating whether [lab color].
override Length { get; }Gets the layer resource length in bytes.
MeanValueForBrightnessAndContrast { get; set; }Gets or sets the mean value for brightness and contrast.
override PsdVersion { get; }Gets the psd version.
override Signature { get; }Gets the signature.

Methods

NameDescription
override Save(StreamContainer, int)Saves the resource to the specified stream container.
override ToString()Returns a String that represents this instance.

Fields

NameDescription
const TypeToolKeyThe type tool info key.

See Also