Lua
C++
Edit

WidgetBlock

This class is used by a custom widget to define a rectangle, image, or a block of text.

Property Type Description
color Vec4 block color
gradient float vertical gradient multiplier
position iVec2 block position
radius int corner radius
size iVec2 block width and height
text WString read-only block text
SetIcon Method defines an icon to display
SetPixmap Method defines a pixmap to display
SetText Method defines a string of text to display
Copyright © 2024 Ultra Software.
All rights reserved.