MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / getBorderCapRadius

Function getBorderCapRadius

packages/core/ui/styling/background.ios.ts:691–693  ·  view source on GitHub ↗
(a: number, b: number, c: number)

Source from the content-addressed store, hash-verified

689}
690
691function getBorderCapRadius(a: number, b: number, c: number): number {
692 return a && Math.min(a, Math.min(b, c));
693}
694
695function calculateNonUniformBorderCappedRadii(bounds: CGRect, background: BackgroundDefinition): CappedOuterRadii {
696 const { width, height } = bounds.size;

Callers 2

generateShadowLayerPathsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected