Class PhflResourceVersion2

PhflResourceVersion2 class

Class PhflResource. Resource of Exposure Adjustment Layer 2 Version ( = 3 ) or ( = 2 ) 12 4 bytes each for XYZ color(Only in Version 3) 10 2 bytes color space followed by 4 * 2 bytes color component(Only in Version 2) 4 Density 1 Preserve Luminosity

public class PhflResourceVersion2 : PhflResource

Constructors

NameDescription
PhflResourceVersion2()Initializes a new instance of the PhflResourceVersion2 class.
PhflResourceVersion2(byte[])Initializes a new instance of the PhflResourceVersion2 class.

Properties

NameDescription
ColorSpace { get; }Gets the color space.
ComponentA { get; set; }Gets or sets the A component of color
ComponentB { get; set; }Gets or sets the B component
ComponentL { get; set; }Gets or sets the L component of color
Density { get; set; }Gets or sets the density.
Key { get; }Gets the layer resource key.
override Length { get; }Gets the layer resource length in bytes.
PreserveLuminosity { get; set; }Gets or sets a value indicating whether [preserve luminosity].
PsdVersion { get; }Gets the minimal psd version required for layer resource. 0 indicates no restrictions.
virtual Signature { get; }Gets the signature.
override Version { get; }Gets the version.

Methods

NameDescription
override GetRgbColor()Gets the color.
override Save(StreamContainer, int)Saves the resource to the specified stream container.
override SetRgbColor(Color)Sets the RGB color.
override ToString()Returns a String that represents this instance.

See Also