You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: apps/docs/docs/canvas/canvas.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Behind the scenes, it is using its own React renderer.
13
13
|:-----|:---------|:-----------------|
14
14
| style? |`ViewStyle`| View style |
15
15
| ref? |`Ref<SkiaView>`| Reference to the `SkiaView` object |
16
-
|mode? |`default` or `continuous`| By default, the canvas is only updated when the drawing tree or animation values change. With `mode="continuous"`, the canvas will redraw on every frame|
16
+
|opaque? |`boolean`| By default, the canvas is transparent but on Android, you can make it opaque to improve performance.|
17
17
| onSize? |`SharedValue<Size>`| Reanimated value to which the canvas size will be assigned (see [canvas size](/docs/animations/hooks#canvas-size)) |
18
18
| onLayout? |`NativeEvent<LayoutEvent>`| Invoked on mount and on layout changes (see [onLayout](https://reactnative.dev/docs/view#onlayout)) |
0 commit comments