Esempio n. 1
0
        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;
        }
        public static LayerRecords Read(PsdReader reader)
        {
            LayerRecordsReader instance = new LayerRecordsReader(reader);

            return(instance.Value);
        }