- Code: Select all
TGraphLink.CalculateEndPoints
is a protected method which is virtual and can be overriden. This is very welcome, however if I want to override I have a scoping issue with the private fields which I cannot change:
- Code: Select all
property StartPt: TPoint read fStartPt;
property EndPt: TPoint read fEndPt;
I can easily change the scope of both fStartPt and fEndPt, but a protected setmethod would be more obvious...
- Code: Select all
property StartPt: TPoint read fStartPt write SetStartPt;
property EndPt: TPoint read fEndPt write SetEndPt;
Perhaps something to look at for the next version.
The reason is simple, I have a ellipse containing a rectangle, depending on the direction of the link I want it to intersect at the ellipse or at the rectangle.