protected override void ReadData(PsdReader reader, object userData)
        {
            LayerRecords             records        = userData as LayerRecords;
            LayerMaskBlock           mask           = LayerMaskBlock.Read(reader);
            LayerBlendingRangesBlock blendingRanges = LayerBlendingRangesBlock.Read(reader);
            string name          = reader.ReadPascalString(4);
            var    layerResource = new LayerResourceBlock(reader, this.EndPosition - reader.Position);

            records.SetExtraRecords(mask, blendingRanges, layerResource.Resources, name);

            LayerRecords = records;
        }
Ejemplo n.º 2
0
        public static LayerBlendingRangesBlock Read(PsdReader reader)
        {
            LayerBlendingRangesBlock instance = new LayerBlendingRangesBlock(reader);

            return(instance);
        }