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

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.

-Boris

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