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.

Methods

Public Instance methods

Calls append_rect_to_path with the current frame rectangle.

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_frame_to_path followed by clip.

Calls append_frame_to_path followed by fill_and_stroke.

Calls append_frame_to_path followed by fill.

Calls append_frame_to_path followed by stroke.

[Validate]