javafx.scene.shape.Line.endXProperty()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(2.5k)|赞(0)|评价(0)|浏览(135)

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

Line.endXProperty介绍

暂无

代码示例

代码示例来源:origin: jfoenixadmin/JFoenix

new KeyValue(rightLine.visibleProperty(), true, Interpolator.EASE_BOTH),
  new KeyValue(leftLine.visibleProperty(), true, Interpolator.EASE_BOTH),
  new KeyValue(rightLine.endXProperty(),
    (boxWidth + padding - labelOffset) / 2 - boxWidth / 5.5,
    Interpolator.EASE_BOTH),
    maxHeight - padding - 2 * lineThick,
    Interpolator.EASE_BOTH),
  new KeyValue(leftLine.endXProperty(),
    (boxWidth + padding - labelOffset) / 2 - boxWidth / 5.5,
    Interpolator.EASE_BOTH),
new KeyFrame(
  Duration.millis(800),
  new KeyValue(rightLine.endXProperty(),
    boxWidth - padding - labelOffset + lineThick / 2,
    Interpolator.EASE_BOTH),
  new KeyValue(rightLine.endYProperty(), (maxHeight - padding) / 2.4, Interpolator.EASE_BOTH),
  new KeyValue(leftLine.endXProperty(), padding + lineThick / 4, Interpolator.EASE_BOTH),
  new KeyValue(leftLine.endYProperty(), (maxHeight - padding) / 1.4, Interpolator.EASE_BOTH)

代码示例来源:origin: org.copper-engine/copper-monitoring-client

lineInput.setCache(true);
lineInput.startXProperty().set(getAnimationPaneWidth() / 2 - getAnimationPaneWidth() / 8);
lineInput.endXProperty().set(lineInput.startXProperty().get());
lineInput.startYProperty().set(0);
lineInput.endYProperty().bind(animationPane.heightProperty());
lineOutput.setCache(true);
lineOutput.startXProperty().set(getAnimationPaneWidth() / 2 + getAnimationPaneWidth() / 8);
lineOutput.endXProperty().set(lineOutput.startXProperty().get());
lineOutput.startYProperty().set(0);
lineOutput.endYProperty().bind(animationPane.heightProperty());

代码示例来源:origin: com.jfoenix/jfoenix

new KeyValue(rightLine.visibleProperty(), true, Interpolator.EASE_BOTH),
  new KeyValue(leftLine.visibleProperty(), true, Interpolator.EASE_BOTH),
  new KeyValue(rightLine.endXProperty(),
    (boxWidth + padding - labelOffset) / 2 - boxWidth / 5.5,
    Interpolator.EASE_BOTH),
    maxHeight - padding - 2 * lineThick,
    Interpolator.EASE_BOTH),
  new KeyValue(leftLine.endXProperty(),
    (boxWidth + padding - labelOffset) / 2 - boxWidth / 5.5,
    Interpolator.EASE_BOTH),
new KeyFrame(
  Duration.millis(800),
  new KeyValue(rightLine.endXProperty(),
    boxWidth - padding - labelOffset + lineThick / 2,
    Interpolator.EASE_BOTH),
  new KeyValue(rightLine.endYProperty(), (maxHeight - padding) / 2.4, Interpolator.EASE_BOTH),
  new KeyValue(leftLine.endXProperty(), padding + lineThick / 4, Interpolator.EASE_BOTH),
  new KeyValue(leftLine.endYProperty(), (maxHeight - padding) / 1.4, Interpolator.EASE_BOTH)

相关文章