gpt4 book ai didi

org.jfree.chart.annotations.XYTextAnnotation.setTextAnchor()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-26 15:31:05 26 4
gpt4 key购买 nike

本文整理了Java中org.jfree.chart.annotations.XYTextAnnotation.setTextAnchor()方法的一些代码示例,展示了XYTextAnnotation.setTextAnchor()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XYTextAnnotation.setTextAnchor()方法的具体详情如下:
包路径:org.jfree.chart.annotations.XYTextAnnotation
类名称:XYTextAnnotation
方法名:setTextAnchor

XYTextAnnotation.setTextAnchor介绍

[英]Sets the text anchor (the point on the text bounding rectangle that is aligned to the (x, y) coordinate of the annotation) and sends an AnnotationChangeEvent to all registered listeners.
[中]设置文本定位点(文本边框上与注释的(x,y)坐标对齐的点),并向所有注册的侦听器发送AnnotationChangeEvent。

代码示例

代码示例来源:origin: GrammarViz2/grammarviz2_src

rangeRange.getLowerBound() + rangeRange.getLength() / 5 * 3.5);
a.setTextAnchor(TextAnchor.BOTTOM_LEFT);

代码示例来源:origin: org.zaproxy/zap

updateLabel.setRotationAnchor(TextAnchor.BASELINE_CENTER);
updateLabel.setTextAnchor(TextAnchor.BASELINE_CENTER);
updateLabel.setRotationAngle(-3.14 / 2);
updateLabel.setPaint(Color.black);

代码示例来源:origin: GrammarViz2/grammarviz2_src

rangeRange.getLowerBound() + 0.5);
a.setTextAnchor(TextAnchor.BOTTOM_LEFT);

代码示例来源:origin: infiniteautomation/ma-core-public

if (!pointTimeSeriesCollection.hasNumericData() && intervalIndex + j == discreteValueCount)
  anno.setTextAnchor(TextAnchor.TOP_LEFT);
else
  anno.setTextAnchor(TextAnchor.BOTTOM_LEFT);
anno.setPaint(((AbstractRenderer) plot.getRenderer(numericSeriesCount + i)).lookupSeriesPaint(0));
plot.addAnnotation(anno);

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com