Module: PSD::Layer::PositionAndChannels

Included in:
PSD::Layer
Defined in:
lib/psd/layer/position_and_channels.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bottomObject (readonly)

Returns the value of attribute bottom


4
5
6
# File 'lib/psd/layer/position_and_channels.rb', line 4

def bottom
  @bottom
end

#channelsObject (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_infoObject (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

#colsObject (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

#leftObject (readonly)

Returns the value of attribute left


4
5
6
# File 'lib/psd/layer/position_and_channels.rb', line 4

def left
  @left
end

#rightObject (readonly)

Returns the value of attribute right


4
5
6
# File 'lib/psd/layer/position_and_channels.rb', line 4

def right
  @right
end

#rowsObject (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

#topObject (readonly)

Returns the value of attribute top


4
5
6
# File 'lib/psd/layer/position_and_channels.rb', line 4

def top
  @top
end