Version 3.18.1
Show:

File: graphics/js/VMLRect.js

  1. /**
  2. * <a href="http://www.w3.org/TR/NOTE-VML">VML</a> implementation of the <a href="Rect.html">`Rect`</a> class.
  3. * `VMLRect` is not intended to be used directly. Instead, use the <a href="Rect.html">`Rect`</a> class.
  4. * If the browser lacks <a href="http://www.w3.org/TR/SVG/">SVG</a> and <a href="http://www.w3.org/TR/html5/the-canvas-element.html">Canvas</a>
  5. * capabilities, the <a href="Rect.html">`Rect`</a> class will point to the `VMLRect` class.
  6. *
  7. * @module graphics
  8. * @class VMLRect
  9. * @constructor
  10. */
  11. VMLRect = function()
  12. {
  13. VMLRect.superclass.constructor.apply(this, arguments);
  14. };
  15. VMLRect.NAME = "rect";
  16. Y.extend(VMLRect, Y.VMLShape, {
  17. /**
  18. * Indicates the type of shape
  19. *
  20. * @property _type
  21. * @type String
  22. * @private
  23. */
  24. _type: "rect"
  25. });
  26. VMLRect.ATTRS = Y.VMLShape.ATTRS;
  27. Y.VMLRect = VMLRect;