Class: AsposeCadCloud::TiffPhotometrics
- Inherits:
-
Object
- Object
- AsposeCadCloud::TiffPhotometrics
- Defined in:
- lib/aspose_cad_cloud/models/tiff_photometrics.rb
Constant Summary collapse
- MIN_IS_WHITE =
"MinIsWhite".freeze
- MIN_IS_BLACK =
"MinIsBlack".freeze
- RGB =
"Rgb".freeze
- PALETTE =
"Palette".freeze
- MASK =
"Mask".freeze
- SEPARATED =
"Separated".freeze
- YCBCR =
"Ycbcr".freeze
- CIELAB =
"Cielab".freeze
- ICCLAB =
"Icclab".freeze
- ITULAB =
"Itulab".freeze
- LOGL =
"Logl".freeze
- LOGLUV =
"Logluv".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
24 25 26 27 28 |
# File 'lib/aspose_cad_cloud/models/tiff_photometrics.rb', line 24 def build_from_hash(value) constantValues = TiffPhotometrics.constants.select{|c| TiffPhotometrics::const_get(c) == value} raise "Invalid ENUM value #{value} for class #TiffPhotometrics" if constantValues.empty? value end |