Class PhflResource
PhflResource 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 abstract class PhflResource : AdjustmentLayerResource
Properties
| Name | Description |
|---|
| Density { get; set; } | Gets or sets the density. |
| Key { get; } | Gets the layer resource key. |
| abstract 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. |
| abstract Version { get; } | Gets the version. Default is 2 or 3 |
Methods
| Name | Description |
|---|
| abstract GetRgbColor() | Gets the color of the RGB. |
| override Save(StreamContainer, int) | Saves the resource to the specified stream container. |
| abstract SetRgbColor(Color) | Sets the RGB color. |
| override ToString() | Returns a String that represents this instance. |
Fields
| Name | Description |
|---|
| const TypeToolKey | The type tool info key. |
See Also