@remotion/web-renderer
Advanced tools
| type TextDecorationLine = 'underline' | 'overline' | 'line-through'; | ||
| export type TextDecoration = { | ||
| lines: TextDecorationLine[]; | ||
| color: string; | ||
| thickness: number; | ||
| }; | ||
| export declare const parseTextDecoration: ({ onlyBackgroundClipText, style, }: { | ||
| onlyBackgroundClipText: boolean; | ||
| style: CSSStyleDeclaration; | ||
| }) => TextDecoration | null; | ||
| export declare const getTextDecorations: ({ computedStyle, onlyBackgroundClipText, span, }: { | ||
| computedStyle: CSSStyleDeclaration; | ||
| onlyBackgroundClipText: boolean; | ||
| span: HTMLSpanElement; | ||
| }) => TextDecoration[]; | ||
| export declare const drawTextDecoration: ({ contextToDraw, fontSizePx, measurements, parentRect, textDecorations, token, y, }: { | ||
| contextToDraw: OffscreenCanvasRenderingContext2D; | ||
| fontSizePx: number; | ||
| measurements: TextMetrics; | ||
| parentRect: DOMRect; | ||
| textDecorations: TextDecoration[]; | ||
| token: { | ||
| rect: DOMRect; | ||
| }; | ||
| y: number; | ||
| }) => void; | ||
| export {}; |
+10
-10
@@ -6,3 +6,3 @@ { | ||
| "name": "@remotion/web-renderer", | ||
| "version": "4.0.483", | ||
| "version": "4.0.484", | ||
| "main": "dist/index.js", | ||
@@ -26,4 +26,4 @@ "type": "module", | ||
| "@mediabunny/flac-encoder": "1.47.0", | ||
| "@remotion/licensing": "4.0.483", | ||
| "remotion": "4.0.483", | ||
| "@remotion/licensing": "4.0.484", | ||
| "remotion": "4.0.484", | ||
| "mediabunny": "1.47.0" | ||
@@ -33,9 +33,9 @@ }, | ||
| "@react-three/fiber": "9.2.0", | ||
| "@remotion/eslint-config-internal": "4.0.483", | ||
| "@remotion/paths": "4.0.483", | ||
| "@remotion/player": "4.0.483", | ||
| "@remotion/media": "4.0.483", | ||
| "@remotion/shapes": "4.0.483", | ||
| "@remotion/three": "4.0.483", | ||
| "@remotion/transitions": "4.0.483", | ||
| "@remotion/eslint-config-internal": "4.0.484", | ||
| "@remotion/paths": "4.0.484", | ||
| "@remotion/player": "4.0.484", | ||
| "@remotion/media": "4.0.484", | ||
| "@remotion/shapes": "4.0.484", | ||
| "@remotion/three": "4.0.484", | ||
| "@remotion/transitions": "4.0.484", | ||
| "@types/three": "0.170.0", | ||
@@ -42,0 +42,0 @@ "@typescript/native-preview": "7.0.0-dev.20260217.1", |
Sorry, the diff of this file is too big to display
228124
2.16%90
1.12%6518
2.52%+ Added
+ Added
- Removed
- Removed
Updated
Updated