(index: number)
| 431 | } |
| 432 | |
| 433 | public getProp(index: number): any { |
| 434 | switch (index) { |
| 435 | case EObjectPropID.Color: |
| 436 | return this.titleColor; |
| 437 | case EObjectPropID.OutlineColor: |
| 438 | const tf = this.getTextField(); |
| 439 | if (tf) { |
| 440 | return tf.strokeColor; |
| 441 | } |
| 442 | return '#000000'; |
| 443 | case EObjectPropID.FontSize: |
| 444 | return this.titleFontSize; |
| 445 | case EObjectPropID.Selected: |
| 446 | return this.selected; |
| 447 | default: |
| 448 | return super.getProp(index); |
| 449 | } |
| 450 | } |
| 451 | |
| 452 | public setProp(index: number, value: any): void { |
| 453 | switch (index) { |
nothing calls this directly
no test coverage detected