(options)
| 335 | } |
| 336 | |
| 337 | function readStyle(options) { |
| 338 | return { |
| 339 | backgroundColor: options.backgroundColor, |
| 340 | borderCapStyle: options.borderCapStyle, |
| 341 | borderDash: options.borderDash, |
| 342 | borderDashOffset: options.borderDashOffset, |
| 343 | borderJoinStyle: options.borderJoinStyle, |
| 344 | borderWidth: options.borderWidth, |
| 345 | borderColor: options.borderColor |
| 346 | }; |
| 347 | } |
| 348 | |
| 349 | function styleChanged(style, prevStyle) { |
| 350 | if (!prevStyle) { |