本文整理了Java中javafx.scene.shape.Line.strokeProperty()
方法的一些代码示例,展示了Line.strokeProperty()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Line.strokeProperty()
方法的具体详情如下:
包路径:javafx.scene.shape.Line
类名称:Line
方法名:strokeProperty
暂无
代码示例来源:origin: jfoenixadmin/JFoenix
Line line = new Line(shift, 0, contentCircleRadius, 0);
line.fillProperty().bind(timePicker.defaultColorProperty());
line.strokeProperty().bind(line.fillProperty());
line.setStrokeWidth(1.5);
minsPointer.getChildren().addAll(line, selectionCircle, minCircle);
代码示例来源:origin: jfoenixadmin/JFoenix
Line line = new Line(shift, 0, contentCircleRadius, 0);
line.fillProperty().bind(timePicker.defaultColorProperty());
line.strokeProperty().bind(line.fillProperty());
line.setStrokeWidth(1.5);
hoursPointer.getChildren().addAll(line, selectionCircle);
_24HourLine.strokeProperty().bind(_24HourLine.fillProperty());
_24HourLine.setStrokeWidth(1.5);
_24HoursPointer.getChildren().addAll(_24HourLine, _24HourSelectionCircle);
代码示例来源:origin: jfoenixadmin/JFoenix
.setTarget(line.strokeProperty())
.setEndValueSupplier(() -> getSkinnable().isSelected() ?
((JFXToggleButton) getSkinnable()).getToggleLineColor()
代码示例来源:origin: at.bestsolution.efxclipse.rt/org.eclipse.fx.ui.controls
@Override
public void attach(Pane node, TextNode textNode) {
Line l = (Line) textNode.getUserData();
if( l == null ) {
l = new Line();
l.setMouseTransparent(true);
l.setManaged(false);
l.setStartY(textNode.getBoundsInLocal().getHeight() - 2);
l.strokeProperty().bind(textNode.fillProperty());
l.setEndY(textNode.getBoundsInLocal().getHeight() - 2 );
l.setEndX(textNode.getBoundsInLocal().getWidth());
//l.setTranslateY(textNode.getBaselineOffset() + 2.0);
textNode.setUserData(l);
}
node.getChildren().add(l);
}
代码示例来源:origin: at.bestsolution.efxclipse.rt/org.eclipse.fx.ui.controls
l.setStrokeWidth(3);
l.setStrokeLineCap(StrokeLineCap.ROUND);
l.strokeProperty().bind(this.fill);
getChildren().add(l);
代码示例来源:origin: at.bestsolution.eclipse/org.eclipse.fx.ui.controls
l.setStrokeWidth(3);
l.setStrokeLineCap(StrokeLineCap.ROUND);
l.strokeProperty().bind(this.fill);
getChildren().add(l);
代码示例来源:origin: com.jfoenix/jfoenix
Line line = new Line(shift, 0, contentCircleRadius, 0);
line.fillProperty().bind(timePicker.defaultColorProperty());
line.strokeProperty().bind(line.fillProperty());
line.setStrokeWidth(1.5);
minsPointer.getChildren().addAll(line, selectionCircle, minCircle);
代码示例来源:origin: com.jfoenix/jfoenix
Line line = new Line(shift, 0, contentCircleRadius, 0);
line.fillProperty().bind(timePicker.defaultColorProperty());
line.strokeProperty().bind(line.fillProperty());
line.setStrokeWidth(1.5);
hoursPointer.getChildren().addAll(line, selectionCircle);
_24HourLine.strokeProperty().bind(_24HourLine.fillProperty());
_24HourLine.setStrokeWidth(1.5);
_24HoursPointer.getChildren().addAll(_24HourLine, _24HourSelectionCircle);
代码示例来源:origin: com.jfoenix/jfoenix
.setTarget(line.strokeProperty())
.setEndValueSupplier(() -> getSkinnable().isSelected() ?
((JFXToggleButton) getSkinnable()).getToggleLineColor()
内容来源于网络,如有侵权,请联系作者删除!