public void load (BufferedReader reader) throws IOException { super.load(reader); if (!active) return; colors = new float[readInt(reader, "colorsCount")]; for (int i = 0; i < colors.length; i++) colors[i] = readFloat(reader, "colors" + i); timeline = new float[readInt(reader, "timelineCount")]; for (int i = 0; i < timeline.length; i++) timeline[i] = readFloat(reader, "timeline" + i); }
public void load (BufferedReader reader) throws IOException { super.load(reader); if (!active) return; colors = new float[readInt(reader, "colorsCount")]; for (int i = 0; i < colors.length; i++) colors[i] = readFloat(reader, "colors" + i); timeline = new float[readInt(reader, "timelineCount")]; for (int i = 0; i < timeline.length; i++) timeline[i] = readFloat(reader, "timeline" + i); }
public void load (BufferedReader reader) throws IOException { super.load(reader); if (!active) return; highMin = readFloat(reader, "highMin"); highMax = readFloat(reader, "highMax"); relative = readBoolean(reader, "relative"); scaling = new float[readInt(reader, "scalingCount")]; for (int i = 0; i < scaling.length; i++) scaling[i] = readFloat(reader, "scaling" + i); timeline = new float[readInt(reader, "timelineCount")]; for (int i = 0; i < timeline.length; i++) timeline[i] = readFloat(reader, "timeline" + i); }
public void load (BufferedReader reader) throws IOException { super.load(reader); if (!active) return; highMin = readFloat(reader, "highMin"); highMax = readFloat(reader, "highMax"); relative = readBoolean(reader, "relative"); scaling = new float[readInt(reader, "scalingCount")]; for (int i = 0; i < scaling.length; i++) scaling[i] = readFloat(reader, "scaling" + i); timeline = new float[readInt(reader, "timelineCount")]; for (int i = 0; i < timeline.length; i++) timeline[i] = readFloat(reader, "timeline" + i); }
public void load (BufferedReader reader) throws IOException { super.load(reader); if (!active) return; colors = new float[readInt(reader, "colorsCount")]; for (int i = 0; i < colors.length; i++) colors[i] = readFloat(reader, "colors" + i); timeline = new float[readInt(reader, "timelineCount")]; for (int i = 0; i < timeline.length; i++) timeline[i] = readFloat(reader, "timeline" + i); }
public void load (BufferedReader reader) throws IOException { super.load(reader); if (!active) return; highMin = readFloat(reader, "highMin"); highMax = readFloat(reader, "highMax"); relative = readBoolean(reader, "relative"); scaling = new float[readInt(reader, "scalingCount")]; for (int i = 0; i < scaling.length; i++) scaling[i] = readFloat(reader, "scaling" + i); timeline = new float[readInt(reader, "timelineCount")]; for (int i = 0; i < timeline.length; i++) timeline[i] = readFloat(reader, "timeline" + i); }