Class: AsposeCadCloud::TextRenderingHint
- Inherits:
-
Object
- Object
- AsposeCadCloud::TextRenderingHint
- Defined in:
- lib/aspose_cad_cloud/models/text_rendering_hint.rb
Constant Summary collapse
- SYSTEM_DEFAULT =
"SystemDefault".freeze
- SINGLE_BIT_PER_PIXEL_GRID_FIT =
"SingleBitPerPixelGridFit".freeze
- SINGLE_BIT_PER_PIXEL =
"SingleBitPerPixel".freeze
- ANTI_ALIAS_GRID_FIT =
"AntiAliasGridFit".freeze
- ANTI_ALIAS =
"AntiAlias".freeze
- CLEAR_TYPE_GRID_FIT =
"ClearTypeGridFit".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/text_rendering_hint.rb', line 18 def build_from_hash(value) constantValues = TextRenderingHint.constants.select{|c| TextRenderingHint::const_get(c) == value} raise "Invalid ENUM value #{value} for class #TextRenderingHint" if constantValues.empty? value end |