touchgfx::AbstractShape::setCorner() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXtouchgfx::AbstractShape::setCorner()

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.

Syntax

virtual void setCorner(int i,     CWRUtil::Q5 x,     CWRUtil::Q5 y) = 0;

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

References

LocationText
AbstractShape.hpp:105
virtual void setCorner(int i, CWRUtil::Q5 x, CWRUtil::Q5 y) = 0;