decord/source/__polyfill/07xxx/module_7103.js
github-actions 20a21ad13f chore: update source for alpha 346.5
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4791.js (118.4 MB)
2026-09-11 19:12:58 +00:00

18 lines
456 B
JavaScript

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