Draws a Coons patch, which allows you to create complex curved surfaces.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/shopify/react-native-skia/llms.txt
Use this file to discover all available pages before exploring further.
Properties
| Name | Type | Description |
|---|---|---|
| patch | CubicBezier[4] | Four cubic Bezier curves starting at top-left, clockwise, sharing every fourth point |
| textures | Point[] | Texture coordinates for mapping |
| colors? | string[] | Optional colors for each corner |
| blendMode? | BlendMode | Blend mode for colors (default: dstOver with colors, srcOver without) |
Example
Use Cases
- Surface modeling - Create smooth curved surfaces
- Color gradients - Non-linear color transitions
- Texture mapping - Map textures onto curved surfaces
- 3D-like effects - Simulate three-dimensional appearance