Class: AsposeCadCloud::SmoothingMode
- Inherits:
-
Object
- Object
- AsposeCadCloud::SmoothingMode
- Defined in:
- lib/aspose_cad_cloud/models/smoothing_mode.rb
Constant Summary collapse
- DEFAULT =
"Default".freeze
- HIGH_SPEED =
"HighSpeed".freeze
- HIGH_QUALITY =
"HighQuality".freeze
- NONE =
"None".freeze
- ANTI_ALIAS =
"AntiAlias".freeze
- INVALID =
"Invalid".freeze
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Details
#build_from_hash(value) ⇒ String
Builds the enum from string
18 19 20 21 22 |
# File 'lib/aspose_cad_cloud/models/smoothing_mode.rb', line 18 def build_from_hash(value) constantValues = SmoothingMode.constants.select{|c| SmoothingMode::const_get(c) == value} raise "Invalid ENUM value #{value} for class #SmoothingMode" if constantValues.empty? value end |