decord/source/__polyfill/07xxx/module_7133.js
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

18 lines
456 B
JavaScript

// Module ID: 7133
// Function ID: 7134
// Dependencies: [17]
// Exports: getShadowStyle
// Module 7133
import _mod17 from "module_17" /* 17 */;
const Platform = _mod17.Platform;
export const getShadowStyle = function getShadowStyle(color) {
let shadowColor = color.color;
({ offset, radius, opacity } = color);
if (shadowColor === undefined) {
shadowColor = "#000";
}
return { shadowOffset, shadowRadius, shadowColor, shadowOpacity };
};