本文整理了Java中com.ait.lienzo.client.core.shape.Rectangle.setRotationDegrees
方法的一些代码示例,展示了Rectangle.setRotationDegrees
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Rectangle.setRotationDegrees
方法的具体详情如下:
包路径:com.ait.lienzo.client.core.shape.Rectangle
类名称:Rectangle
方法名:setRotationDegrees
暂无
代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-charts
@Override
public void onClose(IAnimation animation, IAnimationHandle handle) {
super.onClose(animation, handle);
label.getLabelContainer().setRotationDegrees(rotation);
}
});
代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-charts
public void format(double maxWidth, double maxHeight) {
double rotation = checkRotation(maxWidth);
if (labels != null && !labels.isEmpty()) {
for (BarChartLabel label : labels) {
// label.getLabelContainer().setAlpha(1);
// label.getLabelContainer().setFillColor(new Color(40 * label.getAxisLabel().getIndex(), 0, 0));
label.getLabelContainer().setRotationDegrees(rotation);
label.getLabel().setRotationDegrees(rotation);
label.getLabelContainer().setWidth(maxWidth);
label.getLabelContainer().setHeight(maxHeight);
cut(label, maxWidth, maxHeight, rotation);
}
}
}
代码示例来源:origin: com.ahome-it/lienzo-charts
public void format(double maxWidth, double maxHeight)
{
double rotation = checkRotation(maxWidth);
if (labels != null && !labels.isEmpty())
{
for (XYChartLabel label : labels)
{
// label.getLabelContainer().setAlpha(1);
// label.getLabelContainer().setFillColor(new Color(40 * label.getAxisLabel().getIndex(), 0, 0));
label.getLabelContainer().setRotationDegrees(rotation);
label.getLabel().setRotationDegrees(rotation);
label.getLabelContainer().setWidth(maxWidth);
label.getLabelContainer().setHeight(maxHeight);
cut(label, maxWidth, maxHeight, rotation);
}
}
}
内容来源于网络,如有侵权,请联系作者删除!