本页内容

QSGGeometry::ColoredPoint2D Struct

struct QSGGeometry::ColoredPoint2D

QSGGeometry::ColoredPoint2D 结构体是一个用于访问带颜色的二维点的便利结构体。更多内容...

公共函数

void set(float x, float y, uchar red, uchar green, uchar blue, uchar alpha)

详细说明

成员函数文档

void ColoredPoint2D::set(float x, float y, uchar red, uchar green, uchar blue, uchar alpha)

将顶点的坐标设置为x 和y ,颜色设置为red 、green 、blue 和alpha 。

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.