Class | Tioga::Rectangles |
In: |
split/Tioga/lib/Rectangles.rb
|
Parent: | Doc< FigureMaker |
These are the methods for creating and using rectangular paths for PDF graphics operations.
Add a rectangle with corners at (x, y), (x + width, y), (x + width, y + height), and (x, y + height).
Like append_rect_to_path, but with corners rounded with curvatures given by dx and dy.
The illustration shows a rounded rectangle stroked and used as a clipping path for showing the image.
Calls append_rounded_rect_to_path followed by fill_and_stroke.
Calls append_rounded_rect_to_path followed by stroke.