Skip to content

Commit 5436eb6

Browse files
authored
Skia DOM (#886)
1 parent eb37899 commit 5436eb6

File tree

190 files changed

+5391
-2426
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

190 files changed

+5391
-2426
lines changed

docs/docs/group.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,13 +247,12 @@ const Clip = () => {
247247
return (
248248
<Canvas style={{ flex: 1 }}>
249249
<Paint ref={paint}>
250+
<Blur blur={20} />
250251
<ColorMatrix
251252
matrix={[
252253
1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 18, -7,
253254
]}
254-
>
255-
<Blur blur={20} />
256-
</ColorMatrix>
255+
/>
257256
</Paint>
258257
<Group color="lightblue" layer={paint}>
259258
<Circle cx={0} cy={128} r={128 * 0.95} />
-60.8 KB
Binary file not shown.

docs/docs/image-filters/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ const ComposeImageFilter = () => {
4444
};
4545
```
4646

47-
![Clamp Blur](assets/color.png)
47+
<img src={require("/static/img/image-filters/composing.png").default} width="256" height="256" />
71.5 KB
Loading

docs/static/img/box/box-stroke.png

3.18 KB
Loading

docs/static/img/box/shadows.png

50 KB
Loading
9.8 KB
Loading
690 KB
Loading
277 KB
Loading

example/src/Examples/API/BlendModes.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ import {
44
BlendMode,
55
Canvas,
66
Circle,
7-
enumKey,
87
Group,
98
Path,
109
Skia,
1110
Text,
1211
useFont,
12+
enumKey,
1313
} from "@shopify/react-native-skia";
1414

1515
const r = 50;

0 commit comments

Comments
 (0)