Java 类javafx.scene.effect.ReflectionBuilder 实例源码

项目:sevenwonders    文件:DisplayShelf.java   
public PerspectiveImage(Image image) {
    ImageView imageView = new ImageView(image);
    imageView.setEffect(ReflectionBuilder.create().fraction(REFLECTION_SIZE).build());
    setEffect(transform);
    Rectangle rec = new Rectangle(image.getWidth(), image.getHeight());
    rec.setArcHeight(150);
    rec.setArcWidth(150);
    imageView.setClip(rec);
    getChildren().addAll(imageView);
}
项目:incubator-netbeans    文件:DisplayShelf.java   
public PerspectiveImage(Image image) {
    ImageView imageView = new ImageView(image);
    imageView.setEffect(ReflectionBuilder.create().fraction(REFLECTION_SIZE).build());
    setEffect(transform);
    getChildren().addAll(imageView);
}
项目:marathonv5    文件:DisplayShelfSample.java   
public PerspectiveImage(Image image) {
    ImageView imageView = new ImageView(image);
    imageView.setEffect(ReflectionBuilder.create().fraction(REFLECTION_SIZE).build());
    setEffect(transform);
    getChildren().addAll(imageView);
}
项目:marathonv5    文件:DisplayShelfSample.java   
public PerspectiveImage(Image image) {
    ImageView imageView = new ImageView(image);
    imageView.setEffect(ReflectionBuilder.create().fraction(REFLECTION_SIZE).build());
    setEffect(transform);
    getChildren().addAll(imageView);
}
项目:kotlinfx-ensemble    文件:DisplayShelfSample.java   
public PerspectiveImage(Image image) {
    ImageView imageView = new ImageView(image);
    imageView.setEffect(ReflectionBuilder.create().fraction(REFLECTION_SIZE).build());
    setEffect(transform);
    getChildren().addAll(imageView);
}