org.jhotdraw.draw.liner
Class CurvedLiner
- java.lang.Object
-
- org.jhotdraw.draw.liner.CurvedLiner
-
- All Implemented Interfaces:
- java.lang.Cloneable, Liner, DOMStorable
public class CurvedLiner extends java.lang.Object implements Liner, DOMStorable
ALinerthat constrains a connection to a curved line.
-
-
Constructor Summary
Constructors Constructor and Description CurvedLiner()Creates a new instance.CurvedLiner(double slantSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Linerclone()java.util.Collection<Handle>createHandles(BezierPath path)Creates Handle's for the Liner.voidlineout(ConnectionFigure figure)Layouts the Path.voidread(DOMInput in)voidwrite(DOMOutput out)
-
-
-
Constructor Detail
-
CurvedLiner
public CurvedLiner()
Creates a new instance.
-
CurvedLiner
public CurvedLiner(double slantSize)
-
-
Method Detail
-
createHandles
public java.util.Collection<Handle> createHandles(BezierPath path)
Description copied from interface:LinerCreates Handle's for the Liner. The ConnectionFigure can provide these handles to the user, in order to let her control the lineout.- Specified by:
createHandlesin interfaceLiner- Parameters:
path- The path for which to create handles.
-
lineout
public void lineout(ConnectionFigure figure)
Description copied from interface:LinerLayouts the Path. This may alter the number and type of points in the Path.
-
read
public void read(DOMInput in)
- Specified by:
readin interfaceDOMStorable
-
write
public void write(DOMOutput out)
- Specified by:
writein interfaceDOMStorable
-
-
DataMelt 3.0 © DataMelt by jWork.ORG