(color: string, size: number, offset: number)
| 109 | } |
| 110 | |
| 111 | getPopup(color: string, size: number, offset: number): View { |
| 112 | const layout = new StackLayout(); |
| 113 | layout.height = size; |
| 114 | layout.width = size; |
| 115 | layout.marginTop = offset; |
| 116 | layout.marginLeft = offset; |
| 117 | layout.backgroundColor = color; |
| 118 | layout.borderRadius = 10; |
| 119 | return layout; |
| 120 | } |
| 121 | } |