/**
* Creates the shape for a single part of the intermediate bar.
*
* @param x
* @param width
* @param h
* @param verticval
* @return
*/
private Path2D createIntermediateShape(double x, double width, double h) {
int offset = 10;
Path2D path = new Path2D.Double();
path.append(new Line2D.Double(x, h, x + offset, 0), true);
path.append(new Line2D.Double(x + offset, 0, x + width + offset, 0), true);
path.append(new Line2D.Double(x + width + offset, 0, x + width, h), true);
path.append(new Line2D.Double(x + width, h, x, h), true);
return path;
}
ProgressBarUI.java 文件源码
java
阅读 23
收藏 0
点赞 0
评论 0
项目:rapidminer
作者:
评论列表
文章目录