Method: HexaPDF::Content::Canvas#graphics_object
- Defined in:
- lib/hexapdf/content/canvas.rb
#graphics_object ⇒ Object
The current graphics object.
The graphics object should not be changed directly! It is automatically updated by the invoked methods.
This attribute can have the following values:
- :none
-
No current graphics object, i.e. the page description level.
- :path
-
The current graphics object is a path.
- :clipping_path
-
The current graphics object is a clipping path.
- :text
-
The current graphics object is a text object.
See: PDF2.0 s8.2
264 265 266 |
# File 'lib/hexapdf/content/canvas.rb', line 264 def graphics_object @graphics_object end |