Announcement

Collapse
No announcement yet.

Rectangle round corners

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Rectangle round corners

    Hello,

    Is there a simple way te draw an (outline only, not solid) a rectangle with 2 round corners and 2 sharp corners. I've managed to do so, but it is a lot of code for something relativety simpel.

    Now, I draw a rectangle, then use the circle function to draw the 2 round edges, and use the rectangle function to delete the circle part which is in the exciting rectangle. And if I want smooth edges, i have to repeat this a number of times,

    Thanks in advance,

  • #2


    Use clipping to clip 3/4 of the circle out of existence.

    That way you draw 4 lines and 4 circles
    Mark

    Comment


    • #3


      Thank you ESPSupport! The clipping function is perfect for this, and more functions...

      Comment

      Working...
      X