Atoms - RectComponent
Share
Let's explain Atoms' RectComponent.
Unlike the positioning of BoxComponent, RectComponent can be drawn anywhere on the screen by specifying MarginXY. Like BoxComponent, width, height, and background color can be specified.
The child node components are rendered at the location specified by the parent component.
Standard Components such as RectComponent and BoxComponent have parameters that set their position relative to the parent node.