lines.add(new TextLine(name, font.deriveFont(32f), 5, -5)); lines.add(new TextLine(info.sizeX + " x " + info.sizeY, font.deriveFont( Font.ITALIC, 16f), 20, 10)); lines.add(new TextLine(info.dimensionOrder, font.deriveFont(Font.ITALIC, 14f), 30, 5)); int space = 5; if (info.sizeZ > 1) { lines.add(new TextLine( "Focal plane = " + (zct[0] + 1) + "/" + info.sizeZ, font, 20, space)); space = 2; lines.add(new TextLine("Channel = " + (zct[1] + 1) + "/" + info.sizeC, font, 20, space)); space = 2; lines.add(new TextLine("Time point = " + (zct[2] + 1) + "/" + info.sizeT, font, 20, space)); space = 2; lines.add(new TextLine("True-Z point = " + ((zct[0]/sizeZsub) + 1) + "/" + info.sizeZ/sizeZsub, font, 20, space)); space = 2; lines.add(new TextLine("Sub-Z = " + ((zct[0]%sizeZsub) + 1) + "/" + sizeZsub, font, 20, space)); space = 2; lines.add(new TextLine("True Channel = " + ((zct[1]/sizeCsub) + 1) + "/" + info.sizeC/sizeCsub, font, 20, space));
lines.add(new TextLine(name, font.deriveFont(32f), 5, -5)); lines.add(new TextLine(info.sizeX + " x " + info.sizeY, font.deriveFont( Font.ITALIC, 16f), 20, 10)); lines.add(new TextLine(info.dimensionOrder, font.deriveFont(Font.ITALIC, 14f), 30, 5)); int space = 5; if (info.sizeZ > 1) { lines.add(new TextLine( "Focal plane = " + (zct[0] + 1) + "/" + info.sizeZ, font, 20, space)); space = 2; lines.add(new TextLine("Channel = " + (zct[1] + 1) + "/" + info.sizeC, font, 20, space)); space = 2; lines.add(new TextLine("Time point = " + (zct[2] + 1) + "/" + info.sizeT, font, 20, space)); space = 2; lines.add(new TextLine("True-Z point = " + ((zct[0]/sizeZsub) + 1) + "/" + info.sizeZ/sizeZsub, font, 20, space)); space = 2; lines.add(new TextLine("Sub-Z = " + ((zct[0]%sizeZsub) + 1) + "/" + sizeZsub, font, 20, space)); space = 2; lines.add(new TextLine("True Channel = " + ((zct[1]/sizeCsub) + 1) + "/" + info.sizeC/sizeCsub, font, 20, space));