# ui\_canvas.h - [Overview](#section1499819865165629) - [Summary](#section1670551179165629) - [Data Structures](#nested-classes) ## **Overview** **Related Modules:** [Graphic](Graphic.md) **Description:** Defines the attributes of the canvas component and provides functions for drawing rectangles, circles, and others. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Data Structures

Data Structure Name

Description

OHOS::Paint

Defines the basic styles of graphs drawn on canvases.

OHOS::UICanvas

Defines a canvas, which is used to draw multiple types of 2D graphs.

OHOS::UICanvas::FontStyle

Defines the font style.