Skip to content
CShift0.32

UiCommandKind

Enum · namespace System.Ui · Since 0.32

enum UiCommandKind : int32

What a UiCommand draws.

Value Number Description
Clear 0 The whole frame in Color.
FillRect 1 Rect in Color.
FillRoundRect 2 Rect with corners of Radius in Color.
StrokeRoundRect 3 The outline of Rect with corners of Radius, Width pixels thick, inside of it, in Color.
FillCircle 4 A circle around (X0, Y0) with the radius Size, in Color.
Line 5 A line from (X0, Y0) to (X1, Y1), Size pixels thick, in Color.
Text 6 Text in Color, the top left corner of its first character at (Rect.X, Rect.Y).
Image 7 Image with its top left corner at (Rect.X, Rect.Y).
Clip 8 From now on only Rect is drawn into.