Version 3.18.1

APIs

  • Begin typing in the search box above to see results.
Show:

File: graphics/js/RectGroup.js

 /**
 * Abstract class for creating groups of rects with the same styles and dimensions.
 *
 * @class GroupRect
 * @constructor
 * @submodule graphics-group
 */
 RectGroup = function()
 {
 RectGroup.superclass.constructor.apply(this, arguments);
 };
 
 RectGroup.NAME = "rectGroup";
 
 Y.extend(RectGroup, Y.ShapeGroup, {
 /**
 * Updates the rect.
 *
 * @method _draw
 * @private
 */
 drawShape: function(cfg)
 {
 this.drawRect(cfg.x, cfg.y, cfg.width, cfg.height);
 }
 });
 
 RectGroup.ATTRS = Y.ShapeGroup.ATTRS;
 Y.RectGroup = RectGroup;
 
 

AltStyle によって変換されたページ (->オリジナル) /