protected override void ReadValue(PsdReader reader, object userData, out LayerRecords value) { LayerRecords records = userData as LayerRecords; LayerMask mask = LayerMaskReader.Read(reader); LayerBlendingRanges blendingRanges = LayerBlendingRangesReader.Read(reader); string name = reader.ReadPascalString(4); IProperties resources = new LayerResourceReader(reader, this.EndPosition - reader.Position); records.SetExtraRecords(mask, blendingRanges, resources, name); value = records; }
public static LayerBlendingRanges Read(PsdReader reader) { LayerBlendingRangesReader instance = new LayerBlendingRangesReader(reader); return(instance.Value); }