touchgfx::AbstractShape::setCorner() method
@fn virtual void AbstractShape::setCorner(int i, CWRUtil::Q5 x, CWRUtil::Q5 y) = 0; Sets a corner of the shape. Sets a corner of the shape in Q5 format.
Arguments
i
Zero-based index of the corner.
x
The x coordinate in Q5 format.
y
The y coordinate in Q5 format.
Notes
Remember to call updateAbstractShapeCache() to make sure that the cached outline of the shape is correct. @see updateAbstractShapeCache