UNPKG

yuidoc-asp

Version:

YUIDoc, YUI's JavaScript Documentation engine tweaked to work with VB/VBScript comments.

30 lines (26 loc) 648 B
/** * Abstract class for creating groups of diamonds with the same styles and dimensions. * * @module graphics * @class GroupDiamond * @constructor */ DiamondGroup = function(cfg) { DiamondGroup.superclass.constructor.apply(this, arguments); }; DiamondGroup.NAME = "diamondGroup"; Y.extend(DiamondGroup, Y.ShapeGroup, { /** * Updates the diamond. * * @method _draw * @private */ drawShape: function(cfg) { this.drawDiamond(cfg.x, cfg.y, cfg.width, cfg.height); } }); DiamondGroup.ATTRS = Y.ShapeGroup.ATTRS; Y.DiamondGroup = DiamondGroup;