touchgfx::CanvasWidget::getMinimalRect() const method
@fn virtual Rect CanvasWidget::getMinimalRect() const; Gets minimal rectangle containing the shape drawn by this widget. Gets minimal rectangle containing the shape drawn by this widget. Default implementation returns the size of the entire widget, but this function should be overwritten in subclasses and return the minimal rectangle containing the shape. See classes such as Circle for example implementations.
virtual Rect getMinimalRect() const; Return value
The minimal rectangle containing the shape drawn by this widget.
Examples
touchgfx::CanvasWidget::getMinimalRect() const is referenced by
3 libraries and example projects.
Overridden methods
touchgfx::CanvasWidget::getMinimalRect() const
Type of touchgfx::CanvasWidget::getMinimalRect() const
touchgfx::CanvasWidget::getMinimalRect() const