Class: BlendMode
| Defined in: | lib/psd/blend_mode.coffee |
| Inherits: | Module |
Property Summary
- (String) blendKey
- The 4 character key for the blending mode.
- (Number) opacity
- The opacity of the layer, from [0, 255].
- (Number) clipping
- Raw value for the clipping state of this layer.
- (Boolean) clipped
- Is this layer a clipping mask?
- (String) mode
- The readable representation of the blend mode.
- (Boolean) visible
- Is this layer visible?
Instance Method Summary
- # (void) parse() Parses the blend mode data.
- # (void) opacityPercentage() Returns the layer opacity as a percentage.
Constructor Details
#
(void)
constructor(file)
Instance Method Details
#
(void)
parse()
Parses the blend mode data.
#
(void)
opacityPercentage()
Returns the layer opacity as a percentage.