Exemple #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;
        }
Exemple #2
0
        public static LayerRecords Read(PsdReader reader, LayerRecords records)
        {
            LayerExtraRecordsReader instance = new LayerExtraRecordsReader(reader, records);

            return(instance.Value);
        }