Class: Magick::Image::Info
- Inherits:
-
Object
- Object
- Magick::Image::Info
- Defined in:
- lib/rmagick4j/rmagick4j.rb
Instance Attribute Summary collapse
-
#format ⇒ Object
Returns the value of attribute format.
Instance Method Summary collapse
- #_info ⇒ Object
-
#background_color=(background_color) ⇒ Object
TODO Replace with call to Java, or is this the better way? Should it be converted to the Java version only later?.
-
#initialize(&add) ⇒ Info
constructor
A new instance of Info.
- #size=(size) ⇒ Object
Constructor Details
Instance Attribute Details
#format ⇒ Object
Returns the value of attribute format.
299 300 301 |
# File 'lib/rmagick4j/rmagick4j.rb', line 299 def format @format end |
Instance Method Details
#_info ⇒ Object
301 302 303 |
# File 'lib/rmagick4j/rmagick4j.rb', line 301 def _info @info end |
#background_color=(background_color) ⇒ Object
TODO Replace with call to Java, or is this the better way? Should it be converted to the Java version only later?
295 296 297 |
# File 'lib/rmagick4j/rmagick4j.rb', line 295 def background_color= background_color @info.setBackgroundColor(Magick4J.ColorDatabase.queryDefault(background_color)) end |