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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 TIEPolylineLayer().FillColor2 don't work
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

klausdoege

Germany
389 Posts

Posted - Aug 11 2017 :  08:09:58  Show Profile  Reply
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

w2m

USA
1990 Posts

Posted - Aug 11 2017 :  08:53:26  Show Profile  Reply
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
Go to Top of Page

klausdoege

Germany
389 Posts

Posted - Aug 12 2017 :  11:28:19  Show Profile  Reply
Hi Bill,
good to know. Was not quite clear to me.

Klaus
www.klausdoege.de
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: