Method: PSD::Mask#initialize

Defined in:
lib/psd/mask.rb

#initialize(file) ⇒ Mask

Returns a new instance of Mask.



12
13
14
15
16
17
18
# File 'lib/psd/mask.rb', line 12

def initialize(file)
  @file = file
  @top = 0
  @left = 0
  @bottom = 0
  @right = 0
end