shaffex

Shape: Rectangle

Description

A rectangle shape aligned inside the frame of the view containing it.

Parameters

Example

<body>
    <vstack padding="">
        <rectangle foregroundColor="cyan"/>
        <rectangle stroke="lineWidth:5;dash:5" foregroundColor="mint" clipped=""/>
        <rectangle foregroundStyle="style:lineargradient;colors:[red,blue];startPoint:0.0,0.5;endPoint:1.0,0.5"/>
    </vstack>
</body>

Screenshot