CrossGraphics.Maui 1.3.88

dotnet add package CrossGraphics.Maui --version 1.3.88
                    
NuGet\Install-Package CrossGraphics.Maui -Version 1.3.88
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CrossGraphics.Maui" Version="1.3.88" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CrossGraphics.Maui" Version="1.3.88" />
                    
Directory.Packages.props
<PackageReference Include="CrossGraphics.Maui" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CrossGraphics.Maui --version 1.3.88
                    
#r "nuget: CrossGraphics.Maui, 1.3.88"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CrossGraphics.Maui@1.3.88
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CrossGraphics.Maui&version=1.3.88
                    
Install as a Cake Addin
#tool nuget:?package=CrossGraphics.Maui&version=1.3.88
                    
Install as a Cake Tool

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.

Product Compatible and additional computed target framework versions.
.NET net10.0-android36.0 is compatible.  net10.0-ios26.0 is compatible.  net10.0-maccatalyst26.0 is compatible.  net10.0-macos26.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.88 5 3/9/2026