Home
Features
Demos
Store
Forum
Support
ImageEn Forum
Profile
Join
Active Topics
Forum FAQ
Search
All Forums
ImageEn Library for Delphi, C++ and .Net
ImageEn and IEvolution Support Forum
How does one walk all Ellipse shapes on current layer and get Center Points ?
Note:
You must be registered in order to post a reply.
To register,
click here
. Registration is FREE!
View
Small
Medium
Regular
Large
UserName:
Password:
Format
Font
Andale Mono
Arial
Arial Black
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Georgia
Impact
Lucida Console
Script MT Bold
Stencil
Tahoma
Times New Roman
Trebuchet MS
Verdana
Size
8
10
12
14
18
24
Color
█████
█████
█████
█████
█████
█████
█████
█████
█████
█████
█████
█████
█████
█████
Message
Emoji
Check here to include your profile signature.
Check here to subscribe to this topic.
T O P I C R E V I E W
andyhill
Posted - Aug 24 2022 : 20:23:32
for shp:= Low(TIEShape) to High(TIEShape) do begin
for i:= 0 to TIEEllipse(shp). := Low to High do begin
end;
end;
Andy
2 L A T E S T R E P L I E S (Newest First)
andyhill
Posted - Aug 24 2022 : 21:51:02
OK, will use TIEPolyline layer
Andy
xequte
Posted - Aug 24 2022 : 21:41:25
Hi Andy
There is not an easy way to do that with a TIEShapeLayer.
If you create a TIEPolyline layer and fill its points using a TIEShape:
https://www.imageen.com/help/TIEPolylineLayer.SetPoints.html
Then you can get the centroid using:
https://www.imageen.com/help/TIEPolylineLayer.CalculateCentroid.html
Otherwise you can calculate it yourself with:
IEGenerateShapePoints(); (in iexCanvasUtils.pas)
and
IECalcPolygonCentroid(); (in hyieutils.pas)
But that is unsupported.
Nigel
Xequte Software
www.imageen.com