decord/source/__polyfill/07xxx/module_7044.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

18 lines
456 B
JavaScript

// Module ID: 7044
// Function ID: 7045
// Dependencies: [17]
// Exports: getShadowStyle
// Module 7044
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 };
};