PySide6.QtQuick.QSGNinePatchNode¶
- class QSGNinePatchNode¶
-
概要¶
虚拟方法¶
def
setBounds()def
setPadding()def
setTexture()def
update()
静态函数¶
注意
本文档可能包含从C++自动翻译到Python的代码片段。我们始终欢迎对代码片段翻译的贡献。如果您发现翻译问题,您也可以通过在我们的https:/bugreports.qt.io/projects/PYSIDE上创建工单来告知我们。
详细描述¶
- static rebuildGeometry(texture, geometry, padding, bounds, dpr)¶
- Parameters:
纹理 –
QSGTexturegeometry –
QSGGeometrypadding –
QVector4Dbounds –
QRectFdpr – 浮点数
- abstract setDevicePixelRatio(ratio)¶
- Parameters:
ratio – 浮点数
- abstract setPadding(left, top, right, bottom)¶
- Parameters:
left – 浮点数
top – 浮点数
right – 浮点数
bottom – 浮点数
- abstract setTexture(texture)¶
- Parameters:
纹理 –
QSGTexture
- abstract update()¶