public static SegmentMaps Read(BinaryReaderFont reader) { SegmentMaps value = new SegmentMaps { positionMapCount = reader.ReadUInt16() }; value.axisValueMaps = AxisValueMap.ReadArray(reader, value.positionMapCount); return(value); }
public static AxisValueMap[] ReadArray(BinaryReaderFont reader, int count) { AxisValueMap[] array = new AxisValueMap[count]; for (int i = 0; i < count; i++) { array[i] = Read(reader); } return(array); }