Shapes Platform Support
Introduction
Shapes (Skia) support varies per platform. See below to see information about your platform.
MonoGame and KNI projects can use the following shapes:
Arc
Circle
Rectangle
The outline (stroke) of Circle and Rectangle, and Rectangle's fill (at square corners), render out of the box. Circle's fill, Rectangle's rounded corners, and the richer effects (gradients, drop shadows, and dashed strokes) are provided by the shape support package (Gum.Shapes.MonoGame or Gum.Shapes.KNI). Without the package those properties are saved but do not draw.
Other types, such as SVG or Lottie, are not currently supported.
For information on adding the shape support package to your project, see the Shapes page.
FNA renders the outline (stroke) of Circle and Rectangle, and Rectangle's fill (at square corners), out of the box. Circle's fill, Rectangle's rounded corners, and the richer effects (gradients, drop shadows, dashed strokes) are not available on FNA because there is no shape support package for it. We are looking for contributors to help expand FNA shape support.
Raylib supports Circle and Rectangle natively, including fill, gradients, and drop shadows, with no extra package required.
All shape types are fully supported.
Last updated
Was this helpful?

