Basic Example
- Canvas component - The root container for all Skia drawings
- Group component - Groups elements and applies shared properties (like blend modes)
- Circle component - Draws a circle at specified coordinates with a color
How It Works
- Canvas - Acts as the root component where all Skia drawing happens. It uses its own React renderer behind the scenes.
-
Coordinates - The coordinate system starts at the top-left corner (0, 0). The
cxandcyproperties define the center of each circle. -
Blend Mode - The
multiplyblend mode creates color mixing where circles overlap, similar to how physical paint layers interact.
Next Steps
Now that you’ve created your first drawing, explore:- Canvas - Learn about canvas properties and capabilities
- Shapes - Discover all available shape components
- Paint & Styling - Apply colors, strokes, and effects
- Animations - Bring your drawings to life