static void Outline (Rect rect, Color color, float width, float cornerRadius, float offset)

Parameters

NameTypeDescription
rect Rect The rectangle to outline, in panel-local coordinates.
color Color Outline color.
width float Outline thickness in pixels.
cornerRadius = 0 float Corner radius to match rounded rectangles.
offset = 0 float Outline offset. Positive values push the outline outward, negative values pull it inward.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.