1using System.Threading.Tasks;
19 : base(Document, Parent)
36 return new Backward(Document, Parent);
49 return Task.CompletedTask;
62 this.P1 =
Path.LastPoint;
66 return Task.CompletedTask;
86 public bool TryGetStart(out
float X, out
float Y, out
float Direction)
102 public bool TryGetEnd(out
float X, out
float Y, out
float Direction)
Contains a 2D layout document.
Abstract base class for distance elements.
float dist
Measured distance
bool defined
If element is well-defined.
static float CalcDirection(float x1, float y1, float x2, float y2)
Calculates the direction of the pen when drawing from (x1,y1) to (x2,y2).
Interface for directed elements.
Base interface for all layout elements.