Skip to main content

Cross-platform library for rendering vector graphics and writing graphics-rich apps. Supports iOS, OS X, Android, Windows Phone, Windows RT, WPF among a variety of file formats.

Total Downloads
11.0K
10,997
Published
Mar 9, 2026
7mo ago

Get Started

dotnet add package CrossGraphics --version 1.3.88
ProductVersions
.NET
net10.0-android36.0net10.0-ios26.0net10.0-maccatalyst26.0net10.0-macos26.0
.NET Standard
netstandard2.1

README

CrossGraphics

CrossGraphics aims to deliver a simple immediate mode interface for drawing graphics on a variety of platforms running .NET.

Currently the following platforms are supported:

Installation

dotnet add package CrossGraphics

Using the library

The interface CrossGraphics.IGraphics is the recipient of all drawing commands.

You should now code your objects to be able to draw themselves by being passed and IGraphics object.

Drawing commands include:

  • Rectangles using FillRect and DrawRect
  • Rounded Rectangles using FillRoundedRect and DrawRoundedRect
  • Ovals using FillOval and DrawOval
  • Lines using DrawLine and the option BeginLine and EndLine primitives
  • Images using DrawImage
  • Text using DrawString and the associated font functions

Development

  • Run Acceptance Tests
dotnet run --project atests/CrossGraphicsAcceptanceTests.csproj -- $(pwd)

License

The code is copyright Frank A. Krueger and is released under the MIT license.

Downloads by Version

Similar & Alternative Packages

Hand-picked matching NuGet libraries based on tags & ecosystem

Depended On By

Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 5 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.