Class: AsposeCadCloud::LineCap
- Inherits:
-
Object
- Object
- AsposeCadCloud::LineCap
- Defined in:
- lib/aspose_cad_cloud/models/line_cap.rb
Constant Summary collapse
- FLAT =
"Flat".freeze
- SQUARE =
"Square".freeze
- ROUND =
"Round".freeze
- TRIANGLE =
"Triangle".freeze
- NO_ANCHOR =
"NoAnchor".freeze
- SQUARE_ANCHOR =
"SquareAnchor".freeze
- ROUND_ANCHOR =
"RoundAnchor".freeze
- DIAMOND_ANCHOR =
"DiamondAnchor".freeze
- ARROW_ANCHOR =
"ArrowAnchor".freeze
- ANCHOR_MASK =
"AnchorMask".freeze
- CUSTOM =
"Custom".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
23 24 25 26 27 |
# File 'lib/aspose_cad_cloud/models/line_cap.rb', line 23 def build_from_hash(value) constantValues = LineCap.constants.select{|c| LineCap::const_get(c) == value} raise "Invalid ENUM value #{value} for class #LineCap" if constantValues.empty? value end |