MotionScript

@motion-script/core


@motion-script/core / RectCornerRadius

Type Alias: RectCornerRadius

RectCornerRadius = CornersInput<number> | CornerRadiusResolved

Defined in: attributes/shape/corners/corner-radius.ts:13

Accepted corner radius input for a Rect: a single number applies uniformly 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 0 when resolved.