Cancel
Showing results for 
Search instead for 
Did you mean: 

Vector graphics: rectangle in the backgrund

Creator
Creator

Hi,

 

I want to create a filled rectangle to be positioned in the background, anyway it covers the textboxes I already created with vector graphics. Is there a way (I'm sure there is, I'm just struggling to find it) to move the rectangle in the background?

 

Could you please help me with this? Thanks.

3 REPLIES 3

Re: Vector graphics: rectangle in the backgrund

Phenom
Phenom

Hello

 

Working from memory, no there is not.

 

Vector graphics is drawn in the order in which they are added to the frame, so if the text is already there and you add a rectangle then it will be over the text.

 

The easiest way through code to handle generating graphics using vector graphics is to use the layer value, set everything that is a fixed size to 1 layer and everything that could change to another layer, onCreate draw all of the graphics and then as needed remove all of the graphics from 1 layer only (is a method to let you do this) and then add it all back in with the correct values.

 

JamesM

Re: Vector graphics: rectangle in the backgrund

Creator
Creator

Thanks for your reply.

Betreff: Vector graphics: rectangle in the backgrund

Gears Phenom Gears Phenom
Gears Phenom

You can work with the layers manually, as well. Use -1 for the text-vectorgraphics and values >0 for the rectangles, then the text will be displayed in front of the rectangles:

grafik.png

Regards,Alex

___________________________________________________________
Alex Dilg, Consultant at SimPlan AG (www.SimPlan.de)
This post was good and/or helpful to you? Please provide some Kudos, thank you!