javafx.scene.Node.setClip()方法的使用及代码示例

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

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

Node.setClip介绍

暂无

代码示例

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

  1. clip.widthProperty().bind(((Region) node).widthProperty());
  2. clip.heightProperty().bind(((Region) node).heightProperty());
  3. node.setClip(clip);
  4. this.getChildren().addAll(buttonsContainer, contentPlaceHolder);

代码示例来源:origin: at.bestsolution.efxclipse.rt/org.eclipse.fx.ui.controls

  1. public void setCenter(N center) {
  2. if (this.center != null) {
  3. this.center.setClip(null);
  4. getChildren().remove(this.center);
  5. }
  6. this.center = center;
  7. if (this.center != null) {
  8. this.center.setClip(this.clip);
  9. getChildren().add(0, this.center);
  10. }
  11. }

代码示例来源:origin: org.controlsfx/controlsfx

  1. clippedNode.setClip(clip);

代码示例来源:origin: stackoverflow.com

  1. List<Transform> oldTransforms = new ArrayList<>(node.getTransforms());
  2. node.setClip(new javafx.scene.shape.Rectangle(printRectX, printRectY,
  3. printRectWith, printRectHeight));
  4. node.setClip(oldClip);
  5. return success;

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

  1. clip.widthProperty().bind(((Region) node).widthProperty());
  2. clip.heightProperty().bind(((Region) node).heightProperty());
  3. node.setClip(clip);
  4. this.getChildren().addAll(buttonsContainer, contentPlaceHolder);

相关文章

Node类方法