Class: AsposeSlidesCloud::ShapesAlignmentType
- Inherits:
-
Object
- Object
- AsposeSlidesCloud::ShapesAlignmentType
- Defined in:
- lib/aspose_slides_cloud/models/shapes_alignment_type.rb
Constant Summary collapse
- ALIGN_LEFT =
'AlignLeft'.freeze
- ALIGN_RIGHT =
'AlignRight'.freeze
- ALIGN_CENTER =
'AlignCenter'.freeze
- ALIGN_TOP =
'AlignTop'.freeze
- ALIGN_MIDDLE =
'AlignMiddle'.freeze
- ALIGN_BOTTOM =
'AlignBottom'.freeze
- DISTRIBUTE_HORIZONTALLY =
'DistributeHorizontally'.freeze
- DISTRIBUTE_VERTICALLY =
'DistributeVertically'.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
40 41 42 43 44 |
# File 'lib/aspose_slides_cloud/models/shapes_alignment_type.rb', line 40 def build_from_hash(value) constantValues = ShapesAlignmentType.constants.select { |c| ShapesAlignmentType::const_get(c) == value } raise "Invalid ENUM value #{value} for class #ShapesAlignmentType" if constantValues.empty? value end |