Skip to main content

Rect

This component can be used as a background for other components to display content, or as an assembly pattern for various scenes.This article describes the detailed configuration method of the component.

rect.jpg

Private Properties​

Parameters
Description
Default value
Line Width1
Line StyleOptional values: straight line, dashed line, dotted linestraight line
Line Color#333333
Radius0
BG Color#ffffff

Node​

Parameters
Description
Default value
WidthOverall width200
HeightOverall height130
XHorizontal coordinate—
YVertical coordinate—