not really known
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
355 B

  1. /**
  2. _enyo.canvas.Circle_ is a canvas control that draws a circle fitting the
  3. parameters specified in the _bounds_ property.
  4. */
  5. enyo.kind({
  6. name: "enyo.canvas.Circle",
  7. kind: enyo.canvas.Shape,
  8. //* @protected
  9. renderSelf: function(ctx) {
  10. ctx.beginPath();
  11. ctx.arc(this.bounds.l, this.bounds.t, this.bounds.w, 0, Math.PI*2);
  12. this.draw(ctx);
  13. }
  14. });