Skip to content
CShift0.32

UiCommand

Struct · namespace System.Ui · Since 0.32

struct UiCommand

One 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.

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 Kind

What it draws.

Rect Rect

The rectangle (or the position) of it.

int Radius

The radius of the corners.

int Width

The thickness of an outline.

Color Color

The color.

double X0

The center of a circle, the start of a line.

double Y0

The center of a circle, the start of a line.

double X1

The end of a line.

double Y1

The end of a line.

double Size

The radius of a circle, the thickness of a line.

string Text

The text (UTF-8).

Image Image

The image.