W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2013

Re: [whatwg] [Canvas][WebIDL] Canvas .addText takes NoInterfaceObject argument

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 03 Jul 2013 02:14:49 -0400
Message-ID: <51D3C159.9000604@mit.edu>
To: whatwg@lists.whatwg.org
On 7/3/13 12:42 AM, Dirk Schulze wrote:
> The methods addText() and addPathByStrokingText() [1] take the NoInterfaceObject CanvasDrawingStyle [2] as argument.

[NoInterfaceObject] just means that window.CanvasDrawingStyle is 
undefined, basically.  It doesn't affect anything else.

addText, as an example, takes any object that implements the 
CanvasDrawingStyle interface.  That would include any DrawingStyle 
object and any CanvasRenderingContext2D object, at first glance.

Received on Wednesday, 3 July 2013 06:15:16 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:03 UTC