ModraUp Ruby API Documentation Ruby API Reference

Class: ModraUp::LineStyle

Inherits:
ModraUp::Entity show all

Overview

An built-in line style (solid, dashed, etc.). Cannot be newly created.

Examples:

ModraUp.active_model.line_styles["Dash"].name  #=> "Dash"

Instance Method Summary # collapse

Inherited from ModraUp::Entity

Instance Method Details

line_style.name ⇒ String

Line style name in English, such as "Dash" or "Solid Basic".

Returns:

  • (String)

Examples:

ModraUp.active_model.line_styles["Dot"].name  #=> "Dot"