in GUI Development by

Hello Paul,

         In the StrokePath,I have two line,

        Path.SetMaxNoOfSubPaths( 2 );
        Path.InitSubPath( 0,33);
        Path.InitSubPath( 1,33);

        Path.Begin( 0,  0.0   ,  220.0 );
        Path.Begin( 1,  100.0   ,  220.0 );


Now,I want to change two different lines into two different colors ,What shold i do?I didn't find a function that could change color .

Thank you.

Best regards,


1 Answer

0 votes
Best answer

Hello Tonny,

please note, that a path contains just a vector information - it describes the shape or the outline. Displaying the path data is done by using a FilledPath or Stroked Path view. These views can be configured to show the entire path with a certain color.

In your case, you can create two Path Data objects and use two Stroked Path views - each with the desired colors.

Best regards,


Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint