MeW Member
Joined: 17 Feb 2005 Posts: 6 Location: Netherlands
|
Posted: 18/02/05 16:42 Post subject: TGraphLink.CalculateEndPoints |
|
|
| Code: | | 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: | 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: | 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. |
|