Module imp2d

Class NURBSShape2D

All Implemented Interfaces:
AWTDrawable, BoundedShape, Connectable, Editable, Transformation, Pickable, Manageable, PersistenceCapable, Shareable, UserFields, XObject, Map, Serializable

public class NURBSShape2D extends FillableShape2D implements Editable
See Also:
  • Field Details

  • Constructor Details

    • NURBSShape2D

      public NURBSShape2D()
    • NURBSShape2D

      public NURBSShape2D(BSplineCurve curve)
  • Method Details

    • getNTypeImpl

      protected Node.NType getNTypeImpl()
      Description copied from class: Node
      This method returns the Node.NType which describes the managed fields of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      getNTypeImpl in class Null
      Returns:
      type describing the managed fields of the class of this node
    • newInstance

      protected Node newInstance()
      Description copied from class: Node
      This method returns a new instance of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      newInstance in class Null
      Returns:
      new instance of class of this node
    • getEdgeWeight

      public float getEdgeWeight()
    • setEdgeWeight

      public void setEdgeWeight(float value)
    • getStartArrow

      public Arrow getStartArrow()
    • setStartArrow

      public void setStartArrow(Arrow value)
    • getEndArrow

      public Arrow getEndArrow()
    • setEndArrow

      public void setEndArrow(Arrow value)
    • getCurve

      public BSplineCurve getCurve()
    • setCurve

      public void setCurve(BSplineCurve value)
    • getShape

      protected Shape getShape(Object object, boolean asNode, Pool pool, GraphState gs)
      Specified by:
      getShape in class Shape2DBase
    • pickBoundary

      protected boolean pickBoundary()
      Overrides:
      pickBoundary in class Shape2DBase
    • getEditable

      protected Editable getEditable()
      Specified by:
      getEditable in class Shape2DBase