ax.annotate('{}'.format(value), xy=(rect.get_x() + rect.get_width() / 2, height ax.annotate('{}'.format(value), xy=(rect.get_x() + rect.get_width() / 2, height
height: 1px; } .height-2 { height: 2px; } .height-3 { height: 3px; } .height-4 { height: 4px; } .height
AffineTransform Tx = new AffineTransform(); Tx.rotate(Math.random(), 5+i*15, height
getRandomFont()); /设置线条颜色 g2.setColor(getRandomColor()); /基线点横坐标 int x=i*1.0F*width/4; /基线点纵坐标 int y=height