Bounds returns the outer bounding box rectangle of the WidgetBase, including decorations. The coordinates are relative to the parent of the Widget.
()
| 179 | // |
| 180 | // The coordinates are relative to the parent of the Widget. |
| 181 | func (wb *WidgetBase) Bounds() Rectangle { |
| 182 | return wb.RectangleTo96DPI(wb.BoundsPixels()) |
| 183 | } |
| 184 | |
| 185 | // BoundsPixels returns the outer bounding box rectangle of the WidgetBase, including |
| 186 | // decorations. |
nothing calls this directly
no test coverage detected