MotionScript

@motion-script/core


@motion-script/core / RectCornerStyle

Type Alias: RectCornerStyle

RectCornerStyle = CornersInput<CornerStyle> | CornerStyleResolved

Defined in: attributes/shape/corners/corner-style.ts:20

Accepted corner style input for a Rect: a single CornerStyle applies to all corners; an object overrides corners individually ({ topLeft, … }) or by axis ({ top, bottom } / { left, right }). An already-resolved value passes through. Unspecified corners fall back to a previous value or 'rounded' when resolved.