本文整理了Java中org.jfree.chart.title.TextTitle.arrangeRR()
方法的一些代码示例,展示了TextTitle.arrangeRR()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。TextTitle.arrangeRR()
方法的具体详情如下:
包路径:org.jfree.chart.title.TextTitle
类名称:TextTitle
方法名:arrangeRR
[英]Returns the content size for the title. This will reflect the fact that a text title positioned on the left or right of a chart will be rotated 90 degrees.
[中]返回标题的内容大小。这将反映一个事实,即位于图表左侧或右侧的文本标题将旋转90度。
代码示例来源:origin: jfree/jfreechart
/**
* Arranges the content for this title assuming no bounds on the width
* or the height, and returns the required size. This will reflect the
* fact that a text title positioned on the left or right of a chart will
* be rotated by 90 degrees.
*
* @param g2 the graphics target.
*
* @return The content size.
*
* @since 1.0.9
*/
protected Size2D arrangeNN(Graphics2D g2) {
Range max = new Range(0.0, Float.MAX_VALUE);
return arrangeRR(g2, max, max);
}
代码示例来源:origin: org.codehaus.jtstand/jtstand-chart
/**
* Arranges the content for this title assuming no bounds on the width
* or the height, and returns the required size. This will reflect the
* fact that a text title positioned on the left or right of a chart will
* be rotated by 90 degrees.
*
* @param g2 the graphics target.
*
* @return The content size.
*
* @since 1.0.9
*/
protected Size2D arrangeNN(Graphics2D g2) {
Range max = new Range(0.0, Float.MAX_VALUE);
return arrangeRR(g2, max, max);
}
代码示例来源:origin: jfree/jfreechart
contentSize = arrangeRR(g2, cc.getWidthRange(),
cc.getHeightRange());
代码示例来源:origin: org.codehaus.jtstand/jtstand-chart
contentSize = arrangeRR(g2, cc.getWidthRange(),
cc.getHeightRange());
内容来源于网络,如有侵权,请联系作者删除!