ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 How to draw several shapes in one layer

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
NotTooSmart Posted - Jun 30 2021 : 14:59:02
I am looking into the simple layers demo and I am getting frustrated trying to trace the different functions and find out where does the layer gets changed so I can have some control. I want to add several shapes in the same layer, but the layers keep adding. Any help will be appreciated.

Jorge
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jun 30 2021 : 15:32:24
Hi Jorge

The TIEShapeLayer object only supports a single shape. You need to merge the layers if you want to have multiple shapes (they will become images layers).

e.g.

ImageEnView1.LayersAdd( iesEllipse );
ImageEnView1.LayersAdd( iesStar5 );
ImageEnView1.LayersAdd( iesCloud );
ImageEnView1.LayersMerge([1,2,3]);


Nigel
Xequte Software
www.imageen.com