Class: AsposeCadCloud::BitmapCompression
- Inherits:
-
Object
- Object
- AsposeCadCloud::BitmapCompression
- Defined in:
- lib/aspose_cad_cloud/models/bitmap_compression.rb
Constant Summary collapse
- RGB =
"Rgb".freeze
- RLE8 =
"Rle8".freeze
- RLE4 =
"Rle4".freeze
- BITFIELDS =
"Bitfields".freeze
- JPEG =
"Jpeg".freeze
- PNG =
"Png".freeze
- ALPHA_BITFIELDS =
"AlphaBitfields".freeze
- DXT1 =
"Dxt1".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
20 21 22 23 24 |
# File 'lib/aspose_cad_cloud/models/bitmap_compression.rb', line 20 def build_from_hash(value) constantValues = BitmapCompression.constants.select{|c| BitmapCompression::const_get(c) == value} raise "Invalid ENUM value #{value} for class #BitmapCompression" if constantValues.empty? value end |