39555c89创建于 2025年12月19日历史提交

Drawing Primitives

All graphics, regardless of complexity, are built from basic primitives. Canvas offers rich primitive drawing features to support rendering of diverse primitives. This topic describes how to draw geometric shapes (such as points, circles, and rectangles), images, and TextBlobs, and provides sample code for implementing target UI effects.

Drawing primitives is the last step of the workflow. You must first create a canvas and set the required drawing effects before proceeding with primitive rendering.