35

PhoneGap: use of the canvas element

Embed Size (px)

DESCRIPTION

Canvas This presentation has been developed in the context of the Mobile Applications Development course, DISIM, University of L'Aquila (Italy), Spring 2013. http://www.ivanomalavolta.com

Citation preview

Page 1: PhoneGap: use of the canvas element
Page 2: PhoneGap: use of the canvas element
Page 3: PhoneGap: use of the canvas element
Page 4: PhoneGap: use of the canvas element
Page 5: PhoneGap: use of the canvas element
Page 6: PhoneGap: use of the canvas element
Page 7: PhoneGap: use of the canvas element
Page 8: PhoneGap: use of the canvas element
Page 9: PhoneGap: use of the canvas element
Page 10: PhoneGap: use of the canvas element
Page 11: PhoneGap: use of the canvas element
Page 12: PhoneGap: use of the canvas element

you can use this objects as a

value to strokeStyle or fillStyle

creates a pattern

from an image

[repeat |

repeat-x |

repeat-y

| no-repeat] Specifies the gradient's

position and color

Page 13: PhoneGap: use of the canvas element
Page 14: PhoneGap: use of the canvas element
Page 15: PhoneGap: use of the canvas element
Page 16: PhoneGap: use of the canvas element
Page 17: PhoneGap: use of the canvas element
Page 18: PhoneGap: use of the canvas element
Page 19: PhoneGap: use of the canvas element
Page 20: PhoneGap: use of the canvas element
Page 21: PhoneGap: use of the canvas element
Page 22: PhoneGap: use of the canvas element
Page 23: PhoneGap: use of the canvas element
Page 24: PhoneGap: use of the canvas element
Page 25: PhoneGap: use of the canvas element
Page 26: PhoneGap: use of the canvas element
Page 27: PhoneGap: use of the canvas element

π

Page 28: PhoneGap: use of the canvas element
Page 29: PhoneGap: use of the canvas element
Page 30: PhoneGap: use of the canvas element
Page 31: PhoneGap: use of the canvas element
Page 32: PhoneGap: use of the canvas element
Page 33: PhoneGap: use of the canvas element
Page 34: PhoneGap: use of the canvas element
Page 35: PhoneGap: use of the canvas element