UiCommand
Struct · namespace System.Ui · Since 0.32
struct UiCommandOne drawing operation of a frame, recorded when a Ui draws with commands instead of pixels (Ui.BeginCommands,
Ui.Commands): for windows that draw themselves (the one of AmigaOS draws with graphics.library). Which fields
count depends on Kind.
Fields
Section titled “Fields”| Name | Description |
|---|---|
Kind |
What it draws. |
Rect |
The rectangle (or the position) of it. |
Radius |
The radius of the corners. |
Width |
The thickness of an outline. |
Color |
The color. |
X0 |
The center of a circle, the start of a line. |
Y0 |
The center of a circle, the start of a line. |
X1 |
The end of a line. |
Y1 |
The end of a line. |
Size |
The radius of a circle, the thickness of a line. |
Text |
The text (UTF-8). |
Image |
The image. |
UiCommandKind KindWhat it draws.
Rect RectThe rectangle (or the position) of it.
Radius
Section titled “Radius”int RadiusThe radius of the corners.
int WidthThe thickness of an outline.
Color ColorThe color.
double X0The center of a circle, the start of a line.
double Y0The center of a circle, the start of a line.
double X1The end of a line.
double Y1The end of a line.
double SizeThe radius of a circle, the thickness of a line.
string TextThe text (UTF-8).
Image ImageThe image.