public PsdLayer(PsdReader reader, PsdDocument document) { this.document = document; this.records = LayerRecordsReader.Read(reader); this.records = LayerExtraRecordsReader.Read(reader, this.records); this.left = this.records.Left; this.top = this.records.Top; this.right = this.records.Right; this.bottom = this.records.Bottom; }