Probuilder V11 How to fill rectangles ?

Forums ProRealTime English forum ProBuilder support Probuilder V11 How to fill rectangles ?

Viewing 3 posts - 1 through 3 (of 3 total)
  • #112953

    hi,

    Anybody knows how to draw a rectangle with a coloured body (not just the border) in Probuilder V11 ?

    thanks

    #112964

    Now with prorealtime version11, if you set a rectangle with:

    it should plot a blue rectangle with red borders (not tested rectangle yet).

    1 user thanked author for this post.
    #112965

    Just found out the answer in the blog   https://www.prorealcode.com/blog/learning/prorealtime-v11-new-instructions-and-improvements-in-calculation-speed/

    The trick is to add the (undocumented) flag bordercolor :

    drawrectangle(x1,y1,x2,y2) coloured(r,g,b,a) bordercolor(r1,g1,b1)

     

Viewing 3 posts - 1 through 3 (of 3 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login