Summary
This specification defines the two-dimensional Canvas (canvas) painting API, using these APIs allows
Immediate mode 2D graphics drawing on a Web page.
1 Introduction
This specification describes the API for immediate mode and for drawing 2D objects within a raster-style drawing area
A necessary method for vector graphics. Its main application is the canvas element defined by the HTML5 specification.
1.1 Terminology:
2D: Two-dimensional, you know
3D: Three dimensions, you know
API: programming interface
Canvas interface element: An element that implements the drawing methods and properties defined in this specification
Element, in short, is the "canvas" element
Drawing context: Drawing context, a Cartesian coordinate plane with the upper left corner (0,0),
In this plane, the x coordinate increases when going to the right and the y coordinate increases when going downward
Immediate-mode: Immediate mode, a drawing format, when the drawing is completed, all drawings
The structure will be discarded immediately from memory, and this API is the graphics drawing format
Statement:
All resources on this website are contributed and published by netizens, or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this website are for learning and reference only. Please do not use them for commercial purposes, otherwise you will be responsible for all consequences incurred! If there is any infringement, please contact us to delete and remove it. Contact information: admin@php.cn