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
 TIEPolylineLayer().FillColor2 don't work

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
klausdoege Posted - Aug 11 2017 : 08:09:58
Hi,
TIEPolylineLayer has a propertie "Fillcolor2", but when i set it
for example:
TIEPolylineLayer(ImageEnView1.CurrentLayer).FillColor2 := clred;
No change ??

TIEShapeLayer(ImageEnView1.CurrentLayer).FillColor2 := clred;
This works fine.

Bug or not ready?
What can i do

Klaus
www.klausdoege.de
2   L A T E S T    R E P L I E S    (Newest First)
klausdoege Posted - Aug 12 2017 : 11:28:19
Hi Bill,
good to know. Was not quite clear to me.

Klaus
www.klausdoege.de
w2m Posted - Aug 11 2017 : 08:53:26
TIEPolylineLayers do not support all shape layer features.
if TIEPolylineLayer(ImageEnView1.CurrentLayer).SupportsFeature( ielfGradient ) then
  ShowMessage('Polyline layer Supports Gradient');

Polyline layers do not support gradient fill so you can not set FillColor2.

You can test this by running the Layers_AllTypes demo.
If you add a shape layer you can create a gradient fill with a FillColor2 color value, but you can not select a gradient fill with a polyline layer and you can not set the gradient fill color.

The current version of ImageEn does not support gradient fill polyline layers.


Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development