HTML5 2d Development

Source: Internet
Author: User

The main methods for 2d development of canvas are as follows:


Arc: function arc () {[native code]}
ArcTo: function arcTo () {[native code]}
BeginPath: function beginPath () {[native code]}
BezierCurveTo: function bezierCurveTo () {[native code]}
ClearRect: function clearRect () {[native code]}
ClearShadow: function clearShadow () {[native code]}
Clip: function clip () {[native code]}
ClosePath: function closePath () {[native code]}
Constructor: function CanvasRenderingContext2D () {[native code]}
CreateImageData: function createImageData () {[native code]}
CreateLinearGradient: function createLinearGradient () {[native code]}
CreatePattern: function createPattern () {[native code]}
CreateRadialGradient: function createRadialGradient () {[native code]}
DrawImage: function drawImage () {[native code]}
DrawImageFromRect: function drawImageFromRect () {[native code]}
Fill: function fill () {[native code]}
FillRect: function fillRect () {[native code]}
FillText: function fillText () {[native code]}
GetImageData: function getImageData () {[native code]}
IsPointInPath: function isPointInPath () {[native code]}
LineTo: function lineTo () {[native code]}
MeasureText: function measureText () {[native code]}
MoveTo: function moveTo () {[native code]}
PutImageData: function putImageData () {[native code]}
QuadraticCurveTo: function quadraticCurveTo () {[native code]}
Rect: function rect () {[native code]}
Restore: function restore () {[native code]}
Rotate: function rotate () {[native code]}
Save: function save () {[native code]}
Scale: function scale () {[native code]}
SetAlpha: function setAlpha () {[native code]}
SetCompositeOperation: function setCompositeOperation () {[native code]}
SetFillColor: function setFillColor () {[native code]}
SetLineCap: function setLineCap () {[native code]}
SetLineJoin: function setLineJoin () {[native code]}
SetLineWidth: function setLineWidth () {[native code]}
SetMiterLimit: function setMiterLimit () {[native code]}
SetShadow: function setShadow () {[native code]}
SetStrokeColor: function setStrokeColor () {[native code]}
SetTransform: function setTransform () {[native code]}
Stroke: function stroke () {[native code]}
StrokeRect: function strokeRect () {[native code]}
StrokeText: function strokeText () {[native code]}
Transform: function transform () {[native code]}
Translate: function translate () {[native code]}



From the ant column that eats elephants

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.