Community
I did DrawableOverrule instance and override WorldDraw method.
In this method I have checked:
public override bool WorldDraw(Drawable d, WorldDrawwd)
{
if (d isLine)
{
Line line = (Line)d;
Next I want to draw text placed on the line and I did:
wd.Geometry.Text(line.StartPoint, normal, direction
Question is - how to calculate required direction for text that text should be placed on the line? Is it easy way to do it?
Thanks!
The Line.Delta property returns a vector along the direction of the line.