diff -r 322d0feea350 -r 89ef5ed3c48b src/cm/media/js/lib/yui/yui_3.10.3/api/modules/graphics.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui_3.10.3/api/modules/graphics.html Tue Jul 16 14:29:46 2013 +0200 @@ -0,0 +1,1856 @@ + + + + + graphics - YUI 3 + + + + + + + + +
+
+
+ +

+ +
+
+ API Docs for: 3.10.3 +
+
+
+ +
+ +
+
+
+ Show: + + + + + + + +
+ + +
+
+
+

graphics Module

+
+ + + User Guide & Examples + + + + + + +
+ Defined in: graphics/js/VMLShape.js:1 +
+ + + +
+ + + +
+

The Graphics module provides a JavaScript API for creating shapes in a variety of formats across + a browser test baseline. + Based on device and browser capabilities, Graphics leverages SVG, + Canvas and VML + to render its graphical elements.

+ +

The Graphics module features a Graphic class that allows you to easily create and manage shapes. + Currently, a Graphic instance can be used to create predifined shapes and free-form polygons with fill + and stroke properties.

+ +

The Graphics module normalizes an API through the use of alias and implementation classes that share + interfaces. Each alias class points to an appropriate implementation class dependent on the browser's + capabilities. There should rarely, if ever, be a need to interact directly with an implementation class.

+ +

Below is a list of available classes. +

+ You can also extend the Shape class to create your own custom shape classes.

+
+ + + +
+ + +
+ +

This module is a rollup of the following modules:

+ +
    + +
  • + + graphics-group + + +
    + The graphics-group submodule allows from drawing a shape multiple times within a single instance. +
    +
  • + +
+ +
+
+ +
+
+
+
+
+
+ + + + + + + + + +