Tabnine Logo
ClosePath
Code IndexAdd Tabnine to your IDE (free)

How to use
ClosePath
in
javafx.scene.shape

Best Java code snippets using javafx.scene.shape.ClosePath (Showing top 12 results out of 315)

origin: at.bestsolution.efxclipse.rt/org.eclipse.fx.ui.controls

@Override
public void closePathAbs() {
  l.add(makeAbsolute(true, new ClosePath()));
}
origin: at.bestsolution.efxclipse.rt/org.eclipse.fx.ui.controls

@Override
public void closePathRel() {
  l.add(makeAbsolute(false, new ClosePath()));
}
origin: at.bestsolution.eclipse/org.eclipse.fx.ui.controls

@Override
public void closePathRel() {
  l.add(makeAbsolute(false, new ClosePath()));
}
origin: at.bestsolution.eclipse/org.eclipse.fx.ui.controls

@Override
public void closePathAbs() {
  l.add(makeAbsolute(true, new ClosePath()));
}
origin: at.bestsolution.efxclipse.rt/org.eclipse.fx.ui.controls

private Node createInsertionMarker(double lineHeight) {
  double lineWidth = lineHeight / 15d;
  double arrowSide = lineHeight / 2d;
  double arrowHeight = arrowSide / 2d;
  Path marker = new Path();
  marker.getElements().add(new MoveTo(- arrowSide / 2d, - arrowHeight));
  marker.getElements().add(new LineTo(+ arrowSide / 2d, - arrowHeight));
  marker.getElements().add(new LineTo(+ lineWidth / 2d, 0));
  marker.getElements().add(new LineTo(+ lineWidth / 2d, lineHeight));
  marker.getElements().add(new LineTo(+ arrowSide / 2d, lineHeight + arrowHeight));
  marker.getElements().add(new LineTo(- arrowSide / 2d, lineHeight + arrowHeight));
  marker.getElements().add(new LineTo(- lineWidth / 2d, lineHeight));
  marker.getElements().add(new LineTo(- lineWidth / 2d, 0));
  marker.getElements().add(new ClosePath());
  marker.setVisible(false);
  marker.getStyleClass().add("insertion-marker"); //$NON-NLS-1$
  marker.setMouseTransparent(true);
  return marker;
}
origin: at.bestsolution.efxclipse.rt/org.eclipse.fx.ui.controls

  break;
case PathIterator.SEG_CLOSE:
  l.add(new ClosePath());
  break;
default:
  l.add(makeAbsolute(false, new ClosePath()));
  l.add(makeAbsolute(true, new ClosePath()));
origin: org.arakhne.afc.gis/giscoreui

path1.getElements().add(new LineTo(mx, my));
path1.getElements().add(new LineTo(x, my));
path1.getElements().add(new ClosePath());
if (element.isDoubleFramed()) {
  final Path path2 = new Path();
  path2.getElements().add(new LineTo(mx, my));
  path2.getElements().add(new LineTo(x, my));
  path2.getElements().add(new ClosePath());
  return new Path[] {path1, path2};
origin: org.arakhne.afc.gis/giscoreui

path1.getElements().add(new LineTo(mx, my));
path1.getElements().add(new LineTo(x, my));
path1.getElements().add(new ClosePath());
if (path2 != null) {
  x -= ptsSize;
  path2.getElements().add(new LineTo(mx, my));
  path2.getElements().add(new LineTo(x, my));
  path2.getElements().add(new ClosePath());
origin: at.bestsolution.eclipse/org.eclipse.fx.ui.controls

  break;
case PathIterator.SEG_CLOSE:
  l.add(new ClosePath());
  break;
default:
  l.add(makeAbsolute(false, new ClosePath()));
  l.add(makeAbsolute(true, new ClosePath()));
origin: org.controlsfx/controlsfx

ClosePath e7 = new ClosePath();
path.getElements().add(e7);
origin: org.arakhne.afc.gis/giscoreui

  break;
case CLOSE:
  pelt = new ClosePath();
  break;
case CURVE_TO:
origin: org.arakhne.afc.gis/giscoreui

  break;
case CLOSE:
  pelt = new ClosePath();
  break;
case CURVE_TO:
javafx.scene.shapeClosePath

Most used methods

  • <init>

Popular in Java

  • Start an intent from android
  • findViewById (Activity)
  • getSharedPreferences (Context)
  • getSupportFragmentManager (FragmentActivity)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Top 12 Jupyter Notebook extensions
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