Class: Magick::ExtractObject::Config
- Inherits:
-
Object
- Object
- Magick::ExtractObject::Config
- Defined in:
- lib/rmagick/extract_object/config.rb
Instance Attribute Summary collapse
-
#content_type ⇒ Object
Returns the value of attribute content_type.
-
#mask_color ⇒ Object
Returns the value of attribute mask_color.
-
#slope ⇒ Object
Returns the value of attribute slope.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
6 7 8 9 10 |
# File 'lib/rmagick/extract_object/config.rb', line 6 def initialize @slope = 10_000_000 @mask_color = "red" @content_type = [] end |
Instance Attribute Details
#content_type ⇒ Object
Returns the value of attribute content_type.
4 5 6 |
# File 'lib/rmagick/extract_object/config.rb', line 4 def content_type @content_type end |
#mask_color ⇒ Object
Returns the value of attribute mask_color.
4 5 6 |
# File 'lib/rmagick/extract_object/config.rb', line 4 def mask_color @mask_color end |
#slope ⇒ Object
Returns the value of attribute slope.
4 5 6 |
# File 'lib/rmagick/extract_object/config.rb', line 4 def slope @slope end |