huesCircleView.setClip(Path.subtract(outterCircle, innterCircle)); this.getChildren().add(huesCircleView); "-fx-border-color:#424242; -fx-border-width:1px; -fx-background-color:rgba(255, 255, 255, 0.87);"); colorSelector.setPrefSize(pickerRadius - huesSmallR, pickerRadius - huesSmallR); colorSelector.setShape(Path.subtract(r1, r2)); colorSelector.setCache(true); colorSelector.setMouseTransparent(true); Circle c1 = new Circle(selectorSize / 2); Circle c2 = new Circle((selectorSize / 2) * 0.5); selector.setShape(Path.subtract(c1, c2)); selector.setStyle( "-fx-border-color:#424242; -fx-border-width:1px;-fx-background-color:rgba(255, 255, 255, 0.87);");
huesCircleView.setClip(Path.subtract(outterCircle, innterCircle)); this.getChildren().add(huesCircleView); "-fx-border-color:#424242; -fx-border-width:1px; -fx-background-color:rgba(255, 255, 255, 0.87);"); colorSelector.setPrefSize(pickerRadius - huesSmallR, pickerRadius - huesSmallR); colorSelector.setShape(Path.subtract(r1, r2)); colorSelector.setCache(true); colorSelector.setMouseTransparent(true); Circle c1 = new Circle(selectorSize / 2); Circle c2 = new Circle((selectorSize / 2) * 0.5); selector.setShape(Path.subtract(c1, c2)); selector.setStyle( "-fx-border-color:#424242; -fx-border-width:1px;-fx-background-color:rgba(255, 255, 255, 0.87);");