decord/source/__polyfill/07xxx/module_7144.js
github-actions 03cf168fbc chore: update source for alpha 347.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4825.js (118.4 MB)
2026-09-17 08:17:09 +00:00

18 lines
456 B
JavaScript

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