204 views
in GUI Development by
Hello,

I'm using overrided Draw function to draw a filled polygon. Code simply looks something like this: aCanvas.FillPolygon(aClip, ...., aBlend). So.. is there any way to get access to this polygon outside of the draw function, for example, to change its position or geometry or to use Pulse color effect?

Thank you.

1 Answer

0 votes
by

Hello,

it seems that you are drawing the polygon programmatically - so there is no object to be accessed. If you animate the object where you have overriden the Draw() method, then the method will be called automatically due to effect.

Nevertheless - let me recommend to use Embedded Wizard version 9.00, there is no need to implement your own Draw() method - you can use the StrokePath view to show your path data.

Best regards,

Manfred.

Embedded Wizard Website | Privacy Policy | Imprint

...