touchgfx::Drawable::setPosition() method
@fn virtual void Drawable::setPosition(int16_t x, int16_t y, int16_t width, int16_t height) Sets the size and position of this Drawable. Sets the size and position of this Drawable, relative to its parent.
virtual void setPosition(int16_t x,
int16_t y,
int16_t width,
int16_t height);
Arguments
x
The x coordinate of this Drawable.
y
The y coordinate of this Drawable.
width
The width of this Drawable.
height
The height of this Drawable.
Notes
Changing this does not automatically yield a redraw.
Examples
touchgfx::Drawable::setPosition() is referenced by
4 libraries and example projects.
Functions called by touchgfx::Drawable::setPosition()
touchgfx::Drawable::setPosition()
Data read by touchgfx::Drawable::setPosition()
touchgfx::Drawable::setPosition()
Overridden methods
touchgfx::Drawable::setPosition()