EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

Objects

This section contains the HTML5 Canvas object reference documentation.

In this section

TopicDescription

canvas

Provides an object that is used for drawing, rendering, and manipulating images and graphics on a document.

CanvasGradient

Specifies an object that represents a color gradient fillStyle on a CanvasRenderingContext2D object.

CanvasImageData

Provides an object that can represent a rectangle of pixels of a given width and height in CSS pixels.

CanvasPattern

Provides an object that contains a pattern for a canvas fill style by using an image or portion of an image.

CanvasPixelArray

Object returned by the data property of a CanvasImageData. Provides indexed access to color and alpha values (RGBA) of pixels for CanvasImageData objects.

CanvasRenderingContext2D

Provides an object that represents a two-dimensional surface that has an origin (0,0) at the upper-left corner, with x-coordinates increasing as you move right and y-coordinates increasing as you move down.

CanvasTextMetrics

Provides an object that contains the width attribute that the measureText method sets.

 

Note  If you are developing on an intranet and have rendering issues for HTML5, you can add a "meta http-equiv-'X-UA-Compatible' content= " meta command, followed by "IE=edge" to the <head> block of a webpage to force a Windows Store app using JavaScript to use the latest standards. For more information about document compatibility, see Defining Document Compatibility.

 

 

Mostrar:
© 2014 Microsoft