For the complete documentation index, see llms.txt. This page is also available as Markdown.

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 renders out of the box. The fill 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.

The older ColoredCircle, RoundedRectangle, and SolidRectangle shapes are being phased out in favor of Circle and Rectangle. They remain available so existing projects keep working, but will be removed in a future release.

Last updated

Was this helpful?