Class: Emfsvg::ObjectTable::Entry
- Inherits:
-
Struct
- Object
- Struct
- Emfsvg::ObjectTable::Entry
- Defined in:
- lib/emfsvg/object_table.rb
Instance Attribute Summary collapse
-
#object ⇒ Object
Returns the value of attribute object.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#object ⇒ Object
Returns the value of attribute object
8 9 10 |
# File 'lib/emfsvg/object_table.rb', line 8 def object @object end |
#type ⇒ Object
Returns the value of attribute type
8 9 10 |
# File 'lib/emfsvg/object_table.rb', line 8 def type @type end |
Instance Method Details
#brush? ⇒ Boolean
13 14 15 |
# File 'lib/emfsvg/object_table.rb', line 13 def brush? type == :brush end |
#font? ⇒ Boolean
17 18 19 |
# File 'lib/emfsvg/object_table.rb', line 17 def font? type == :font end |
#pen? ⇒ Boolean
9 10 11 |
# File 'lib/emfsvg/object_table.rb', line 9 def pen? type == :pen end |