Module: Pdfrb::Content::GraphicObject

Defined in:
lib/pdfrb/content/graphic_object.rb,
lib/pdfrb/content/graphic_object/arc.rb,
lib/pdfrb/content/graphic_object/curve.rb,
lib/pdfrb/content/graphic_object/polyline.rb,
lib/pdfrb/content/graphic_object/rectangle.rb

Overview

High-level shape primitives. Each is a small value object with a draw(canvas) method that emits the right path operators. Adding a new shape = adding one class + (optionally) registering it for the Canvas DSL.

Defined Under Namespace

Classes: Arc, Curve, Polyline, Rectangle