congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
BezierFigure.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.jhotdraw.draw.BezierFigure
constructor

Best Java code snippets using org.jhotdraw.draw.BezierFigure.<init> (Showing top 4 results out of 315)

origin: net.imagej/ij-ui-swing

private boolean add(final BezierPath bezierPath, boolean isClosed) {
  bezierPath.setClosed(isClosed);
  BezierFigure figure = new BezierFigure(isClosed);
  figure.setBezierPath(bezierPath);
  return figures.add(figure);
}
origin: net.imagej/imagej-ui-swing

private boolean add(final BezierPath bezierPath, boolean isClosed) {
  bezierPath.setClosed(isClosed);
  BezierFigure figure = new BezierFigure(isClosed);
  figure.setBezierPath(bezierPath);
  return figures.add(figure);
}
origin: org.opentcs.thirdparty.jhotdraw/jhotdraw

lc = cnt.getPrototype();
lc.setLiner(new CurvedLiner());
ButtonFactory.addToolTo(tb, editor, new BezierTool(new BezierFigure()), "edit.createScribble", labels);
ButtonFactory.addToolTo(tb, editor, new BezierTool(new BezierFigure(true)), "edit.createPolygon", labels);
ButtonFactory.addToolTo(tb, editor, new TextCreationTool(new TextFigure()), "edit.createText", labels);
ButtonFactory.addToolTo(tb, editor, new TextAreaCreationTool(new TextAreaFigure()), "edit.createTextArea", labels);
origin: org.opentcs.thirdparty.jhotdraw/jhotdraw

lc = cnt.getPrototype();
lc.setLiner(new CurvedLiner());
ButtonFactory.addToolTo(tb, editor, new BezierTool(new BezierFigure()), "edit.createScribble", labels);
ButtonFactory.addToolTo(tb, editor, new BezierTool(new BezierFigure(true)), "edit.createPolygon", labels);
ButtonFactory.addToolTo(tb, editor, new TextCreationTool(new TextFigure()), "edit.createText", labels);
ButtonFactory.addToolTo(tb, editor, new TextAreaCreationTool(new TextAreaFigure()), "edit.createTextArea", labels);
org.jhotdraw.drawBezierFigure<init>

Javadoc

Creates an empty BezierFigure, for example without any BezierPath.Nodes. The BezierFigure will not draw anything, if at least two nodes are added to it. The BezierPath created by this constructor is not closed.

Popular methods of BezierFigure

  • clone
  • getBezierPath
    Returns a clone of the bezier path of this figure.
  • set
  • setBezierPath
  • addFigureListener
  • addNode
    Adds a control point.
  • createHandles
  • getBounds
  • getNode
    Gets a control point.
  • getNodeCount
    Gets the node count.
  • removeNode
    Removes the Node at the specified index.
  • restoreAttributesTo
  • removeNode,
  • restoreAttributesTo,
  • setAttributeEnabled,
  • setAttributes,
  • changed,
  • chop,
  • drawCaps,
  • findSegment,
  • fireUndoableEditHappened

Popular in Java

  • Updating database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • onRequestPermissionsResult (Fragment)
  • getSharedPreferences (Context)
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • 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