     height: @height
     opacity: @opacity
     visible: @visible
-    clipped: @clipped+    clipped: @clipped
+    mask: @mask.export()
module.exports = class Layer extends Module
  @includes require('./layer/position_channels.coffee')
  @includes require('./layer/blend_modes.coffee')
  # @includes require('./layer/blending_ranges.coffee')
  # @includes require('./layer/channel_image.coffee')


    extraLen = @file.readInt()
    @layerEnd = @file.tell() + extraLen

    @parseMaskData()

    @file.seek @layerEnd
    return @

