]>
git.proxmox.com Git - sencha-touch.git/blob - src/src/draw/sprite/Line.js
1 Ext
.define('Ext.draw.sprite.Line', {
2 extend
: 'Ext.draw.sprite.Sprite',
24 render: function (surface
, ctx
, clipRegion
) {
26 matrix
= this.attr
.matrix
;
28 matrix
.toContext(ctx
);
31 ctx
.moveTo(attr
.fromX
, attr
.fromY
);
32 ctx
.lineTo(attr
.toX
, attr
.toY
);