plbox
plot a rectangle with rounded corners
parameter | type | units | description |
---|---|---|---|
x1,y1 | float | uu | position of a corner of the box |
x2,y2 | float | uu | position of the opposite corner |
r | float | mm | radius of the rounded corner |
returns: | void |
Description
plbox plots a rectangle with rounded corners, radius r. x,y in user units, radius in millimetersExamples
plinit PS plbox A4 15 15 H H plset HEIGHT 5 plu 40 15 plformat 0 0 "Box in a Rectangle" plrect 0 0 80 30 plbox 1 1 79 29 3