Properties of the RoundedRectangle shader

interface RoundedProps {
    bottom-left: number;
    bottom-right: number;
    radius: number | number[];
    top-left: number;
    top-right: number;
}

Properties

bottom-left: number

sets bottom-left corner

bottom-right: number

sets bottom-right corner

radius: number | number[]

Corner radius, in pixels, to cut out of the corners

0
top-left: number

sets top-left corner

top-right: number

sets top-right corner