# Graphics

Sometimes you want to directly just draw lines, text, or shapes in general inside a blank canvas. Drawing directly has some advantages:

* You  can follow UI designs at the pixel level, for example, you can perfectly round corners at the required value or use the same shadow color as specified in a Figma project
* You need to boost your application performance, especially when dealing with a lot of views present at the same time on a page
* You require that a specific control or group of controls have exactly the same appearance among all platforms

Some disadvantages:

* Often dealing with low-level commands like DrawLine or DrawString results in a more complex code to write a text
* Is sometimes difficult to handle correctly all the user interactions as the native control does: take for example the simple Button view that appears and behaves differently under Android and iOS

MauiReactor features a complete set of tools that allows you to write graphics objects and different levels of abstraction.&#x20;

From the higher level to the lower:

* Using the MauiReactor CanvasView allows declaring graphics objects and interacting with them like any MauiReactor visual node
* Using GraphicsView standard MAUI control as described [here](/mauireactor/deep-dives/working-with-the-graphicsview.md)
* Using SkiaSharp package to directly issue commands to a Skia canvas


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://adospace.gitbook.io/mauireactor/components/graphics.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
