- class QSGNinePatchNode¶
-
Synopsis¶
Virtual methods¶
def
setBounds()
def
setPadding()
def
setTexture()
def
update()
Static functions¶
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description¶
- static rebuildGeometry(texture, geometry, padding, bounds, dpr)¶
- Parameters:
texture –
QSGTexture
geometry –
QSGGeometry
padding –
QVector4D
bounds –
QRectF
dpr – float
- abstract setDevicePixelRatio(ratio)¶
- Parameters:
ratio – float
- abstract setPadding(left, top, right, bottom)¶
- Parameters:
left – float
top – float
right – float
bottom – float
- abstract setTexture(texture)¶
- Parameters:
texture –
QSGTexture
- abstract update()¶