Tabnine Logo
Rectangle.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
javafx.scene.shape.Rectangle
constructor

Best Java code snippets using javafx.scene.shape.Rectangle.<init> (Showing top 20 results out of 315)

origin: jfoenixadmin/JFoenix

private void addTabContentHolder(Tab tab) {
  // create new content place holder
  TabContentHolder tabContentHolder = new TabContentHolder(tab);
  tabContentHolder.setClip(new Rectangle());
  tabContentHolders.add(tabContentHolder);
  // always add tab content holder below its header
  tabsContainer.getChildren().add(0, tabContentHolder);
}
origin: jfoenixadmin/JFoenix

/**
 * creates empty drawers stack
 */
public JFXDrawersStack() {
  final Rectangle clip = new Rectangle();
  clip.widthProperty().bind(this.widthProperty());
  clip.heightProperty().bind(this.heightProperty());
  this.setClip(clip);
}
origin: jfoenixadmin/JFoenix

rectangle = new Rectangle(SQUARE_SIZE, SQUARE_SIZE);
if (color == null) {
  rectangle.setFill(Color.WHITE);
origin: jfoenixadmin/JFoenix

calendarPlaceHolder.getChildren().add(contentHolder);
Rectangle clip = new Rectangle();
clip.widthProperty().bind(calendarPlaceHolder.widthProperty());
clip.heightProperty().bind(calendarPlaceHolder.heightProperty());
origin: jfoenixadmin/JFoenix

switch (getMaskType()) {
  case RECT:
    mask = new Rectangle(bounds.getMinX() + diffMinX - snappedLeftInset(),
      bounds.getMinY() + diffMinY - snappedTopInset(),
      width - 2 * borderWidth,
    break;
  default:
    mask = new Rectangle(bounds.getMinX() + diffMinX - snappedLeftInset(),
      bounds.getMinY() + diffMinY - snappedTopInset(),
      width - 2 * borderWidth,
origin: jfoenixadmin/JFoenix

Rectangle clip = new Rectangle();
clip.widthProperty().bind(((Region) node).widthProperty());
clip.heightProperty().bind(((Region) node).heightProperty());
origin: jfoenixadmin/JFoenix

tabsContainerHolder = new AnchorPane();
tabsContainerHolder.getChildren().add(tabsContainer);
tabsClip = new Rectangle();
tabsContainerHolder.setClip(tabsClip);
getChildren().add(0, tabsContainerHolder);
clip = new Rectangle(tabPane.getWidth(), tabPane.getHeight());
getSkinnable().setClip(clip);
if (getSkinnable().getTabs().size() == 0) {
origin: jfoenixadmin/JFoenix

Rectangle clip = new Rectangle();
this.setClip(clip);
clip.widthProperty().bind(this.widthProperty());
origin: jfoenixadmin/JFoenix

track.setFill(Color.TRANSPARENT);
fillRect = new Rectangle();
fillRect.setFill(Color.TRANSPARENT);
text = new Text();
origin: jfoenixadmin/JFoenix

clip = new Rectangle();
headersRegion = new StackPane() {
  @Override
origin: jfoenixadmin/JFoenix

  clip = new Rectangle(0, gap / 2, getWidth(), getHeight() - gap);
  setClip(clip);
} else {
origin: jfoenixadmin/JFoenix

Rectangle clip = new Rectangle();
clip.widthProperty().bind(calendarPlaceHolder.widthProperty());
clip.heightProperty().bind(calendarPlaceHolder.heightProperty());
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

 public static Node warningDecoration(Color color) {
  Rectangle d = new Rectangle(7, 7);
  d.setFill(color);
  return d;
 }
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

public static Node rectDecoration(Color color) {
 Rectangle d = new Rectangle(7, 7);
 d.setFill(color);
 return d;
}
origin: com.jfoenix/jfoenix

private void addTabContentHolder(Tab tab) {
  // create new content place holder
  TabContentHolder tabContentHolder = new TabContentHolder(tab);
  tabContentHolder.setClip(new Rectangle());
  tabContentHolders.add(tabContentHolder);
  // always add tab content holder below its header
  tabsContainer.getChildren().add(0, tabContentHolder);
}
origin: org.jrebirth.af/component

private Rectangle buidlRectangle(double stroke) {
  Rectangle r = new Rectangle();
  r.setStrokeType(StrokeType.INSIDE);
  r.setStrokeWidth(stroke);
  r.setStroke(Color.RED);
  r.setFill(Color.TRANSPARENT);
  return r;
}
 
origin: org.copper-engine/copper-monitoring-client

private Node createLegendEntry(String text, Color color) {
  HBox hbox = new HBox();
  hbox.setAlignment(Pos.CENTER_LEFT);
  hbox.setSpacing(3);
  hbox.getChildren().add(new Rectangle(15, 15, color));
  hbox.getChildren().add(new Label(text));
  VBox.setMargin(hbox, new Insets(1.5, 3, 1.5, 3));
  return hbox;
}
origin: at.bestsolution.efxclipse.rt/org.eclipse.fx.ui.controls

public ScrollbarPane() {
  this.horizontal = new ScrollBar();
  this.horizontal.setOrientation(Orientation.HORIZONTAL);
  this.vertical = new ScrollBar();
  this.vertical.setOrientation(Orientation.VERTICAL);
  this.clip = new Rectangle();
  getChildren().setAll(this.horizontal, this.vertical);
}
origin: com.cedarsoft.commons/javafx

public DragButton(@Nonnull String text) {
 setCursor(Cursor.W_RESIZE);
 rectangle = new Rectangle();
 rectangle.setFill(Color.GRAY);
 rectangle.setArcHeight(5.0);
 rectangle.setArcWidth(5.0);
 line = new Line();
 label = Components.label(text);
 label.setTextFill(Color.WHITE);
 getChildren().addAll(rectangle, line, label);
}
origin: com.jfoenix/jfoenix

/**
 * creates empty drawers stack
 */
public JFXDrawersStack() {
  final Rectangle clip = new Rectangle();
  clip.widthProperty().bind(this.widthProperty());
  clip.heightProperty().bind(this.heightProperty());
  this.setClip(clip);
}
javafx.scene.shapeRectangle<init>

Popular methods of Rectangle

  • setFill
  • setHeight
  • setWidth
  • heightProperty
  • setStroke
  • widthProperty
  • setX
  • setY
  • setArcHeight
  • setArcWidth
  • setStrokeWidth
  • getWidth
  • setStrokeWidth,
  • getWidth,
  • getFill,
  • getHeight,
  • setEffect,
  • setStrokeType,
  • yProperty,
  • setMouseTransparent,
  • setOpacity

Popular in Java

  • Creating JSON documents from java classes using gson
  • addToBackStack (FragmentTransaction)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getContentResolver (Context)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now