public BrowserContext(SharpCanvas.Tests.Media.HTMLElement container) { // canvas = SharpCanvas.Host.StandaloneBootstrapper.Factory.CreateCanvasElement(); canvas = new SharpCanvas.Browser.Media.HTMLCanvasElement(); _ctx = canvas.getCanvas(); this.container = container; }
public Animation(HTMLElement panel, int interval) { surface = panel; this.interval = interval; IsStarted = false; //this.label = label; }
public FlyingDragon(HTMLElement container) { this.container = container; _ctx = new CanvasRenderingContext2D(container, this, true); _ctx.translate(280, 200); }