Module: PSD::Layer::PositionAndChannels
- Included in:
- PSD::Layer
- Defined in:
- lib/psd/layer/position_and_channels.rb
Instance Attribute Summary collapse
-
#bottom ⇒ Object
readonly
Returns the value of attribute bottom.
-
#channels ⇒ Object
readonly
Returns the value of attribute channels.
-
#channels_info ⇒ Object
readonly
Returns the value of attribute channels_info.
-
#cols ⇒ Object
(also: #width)
readonly
Returns the value of attribute cols.
-
#left ⇒ Object
readonly
Returns the value of attribute left.
-
#right ⇒ Object
readonly
Returns the value of attribute right.
-
#rows ⇒ Object
(also: #height)
readonly
Returns the value of attribute rows.
-
#top ⇒ Object
readonly
Returns the value of attribute top.
Instance Attribute Details
#bottom ⇒ Object (readonly)
Returns the value of attribute bottom.
4 5 6 |
# File 'lib/psd/layer/position_and_channels.rb', line 4 def bottom @bottom end |
#channels ⇒ Object (readonly)
Returns the value of attribute channels.
5 6 7 |
# File 'lib/psd/layer/position_and_channels.rb', line 5 def channels @channels end |
#channels_info ⇒ Object (readonly)
Returns the value of attribute channels_info.
5 6 7 |
# File 'lib/psd/layer/position_and_channels.rb', line 5 def channels_info @channels_info end |
#cols ⇒ Object (readonly) Also known as: width
Returns the value of attribute cols.
4 5 6 |
# File 'lib/psd/layer/position_and_channels.rb', line 4 def cols @cols end |
#left ⇒ Object (readonly)
Returns the value of attribute left.
4 5 6 |
# File 'lib/psd/layer/position_and_channels.rb', line 4 def left @left end |
#right ⇒ Object (readonly)
Returns the value of attribute right.
4 5 6 |
# File 'lib/psd/layer/position_and_channels.rb', line 4 def right @right end |
#rows ⇒ Object (readonly) Also known as: height
Returns the value of attribute rows.
4 5 6 |
# File 'lib/psd/layer/position_and_channels.rb', line 4 def rows @rows end |
#top ⇒ Object (readonly)
Returns the value of attribute top.
4 5 6 |
# File 'lib/psd/layer/position_and_channels.rb', line 4 def top @top end |