Class: DrawioDsl::Configuration::Connector::Arrow
- Inherits:
-
Object
- Object
- DrawioDsl::Configuration::Connector::Arrow
- Defined in:
- lib/drawio_dsl/configuration.rb
Instance Attribute Summary collapse
-
#fill ⇒ Object
readonly
Returns the value of attribute fill.
-
#image ⇒ Object
readonly
Returns the value of attribute image.
Instance Method Summary collapse
- #end_modifiers ⇒ Object
-
#initialize(image, fill) ⇒ Arrow
constructor
A new instance of Arrow.
- #start_modifiers ⇒ Object
Constructor Details
#initialize(image, fill) ⇒ Arrow
Returns a new instance of Arrow.
237 238 239 240 |
# File 'lib/drawio_dsl/configuration.rb', line 237 def initialize(image, fill) @image = image @fill = fill end |
Instance Attribute Details
#fill ⇒ Object (readonly)
Returns the value of attribute fill.
235 236 237 |
# File 'lib/drawio_dsl/configuration.rb', line 235 def fill @fill end |
#image ⇒ Object (readonly)
Returns the value of attribute image.
234 235 236 |
# File 'lib/drawio_dsl/configuration.rb', line 234 def image @image end |
Instance Method Details
#end_modifiers ⇒ Object
246 247 248 |
# File 'lib/drawio_dsl/configuration.rb', line 246 def end_modifiers "endArrow=#{image};endFill=#{fill}" end |
#start_modifiers ⇒ Object
242 243 244 |
# File 'lib/drawio_dsl/configuration.rb', line 242 def start_modifiers "startArrow=#{image};startFill=#{fill}" end |