C# Class System.Html.CanvasElement

Inheritance: Element
Show file Open project: Saltarelle/SaltarelleWeb Class Usage Examples

Private Properties

Property Type Description
CanvasElement System.Html.Media.Graphics

Public Methods

Method Description
AddEventListener ( CanvasElementEvents type, Action listener ) : void
AddEventListener ( CanvasElementEvents type, Action listener, bool capture ) : void
AddEventListener ( CanvasElementEvents type, HtmlEventHandler listener ) : void
AddEventListener ( CanvasElementEvents type, HtmlEventHandler listener, bool capture ) : void
AddEventListener ( CanvasElementEvents type, HtmlEventHandlerWithTarget listener ) : void
AddEventListener ( CanvasElementEvents type, HtmlEventHandlerWithTarget listener, bool capture ) : void
AddEventListener ( CanvasElementEvents type, IEventListener listener ) : void
AddEventListener ( CanvasElementEvents type, IEventListener listener, bool capture ) : void
AddEventListener ( string type, HtmlEventHandlerWithTarget listener ) : void
AddEventListener ( string type, HtmlEventHandlerWithTarget listener, bool capture ) : void
GetContext ( CanvasContextId contextId ) : CanvasRenderingContext
GetContext ( CanvasContextId contextId, object contextOptions ) : CanvasRenderingContext
GetContext ( string contextId ) : CanvasRenderingContext
GetContext ( string contextId, object contextOptions ) : CanvasRenderingContext
RemoveEventListener ( CanvasElementEvents type, Action listener ) : void
RemoveEventListener ( CanvasElementEvents type, Action listener, bool capture ) : void
RemoveEventListener ( CanvasElementEvents type, HtmlEventHandler listener ) : void
RemoveEventListener ( CanvasElementEvents type, HtmlEventHandler listener, bool capture ) : void
RemoveEventListener ( CanvasElementEvents type, HtmlEventHandlerWithTarget listener ) : void
RemoveEventListener ( CanvasElementEvents type, HtmlEventHandlerWithTarget listener, bool capture ) : void
RemoveEventListener ( CanvasElementEvents type, IEventListener listener ) : void
RemoveEventListener ( CanvasElementEvents type, IEventListener listener, bool capture ) : void
RemoveEventListener ( string type, HtmlEventHandlerWithTarget listener ) : void
RemoveEventListener ( string type, HtmlEventHandlerWithTarget listener, bool capture ) : void
ToBlob ( Action callback ) : void
ToBlob ( Action callback, string type, object encoderOptions ) : void
ToDataURL ( ) : string
ToDataURL ( string type, object encoderOptions ) : string

Private Methods

Method Description
CanvasElement ( ) : System.Html.Media.Graphics

Method Details

AddEventListener() public method

public AddEventListener ( CanvasElementEvents type, Action listener ) : void
type CanvasElementEvents
listener Action
return void

AddEventListener() public method

public AddEventListener ( CanvasElementEvents type, Action listener, bool capture ) : void
type CanvasElementEvents
listener Action
capture bool
return void

AddEventListener() public method

public AddEventListener ( CanvasElementEvents type, HtmlEventHandler listener ) : void
type CanvasElementEvents
listener HtmlEventHandler
return void

AddEventListener() public method

public AddEventListener ( CanvasElementEvents type, HtmlEventHandler listener, bool capture ) : void
type CanvasElementEvents
listener HtmlEventHandler
capture bool
return void

AddEventListener() public method

public AddEventListener ( CanvasElementEvents type, HtmlEventHandlerWithTarget listener ) : void
type CanvasElementEvents
listener HtmlEventHandlerWithTarget
return void

AddEventListener() public method

public AddEventListener ( CanvasElementEvents type, HtmlEventHandlerWithTarget listener, bool capture ) : void
type CanvasElementEvents
listener HtmlEventHandlerWithTarget
capture bool
return void

AddEventListener() public method

public AddEventListener ( CanvasElementEvents type, IEventListener listener ) : void
type CanvasElementEvents
listener IEventListener
return void

AddEventListener() public method

public AddEventListener ( CanvasElementEvents type, IEventListener listener, bool capture ) : void
type CanvasElementEvents
listener IEventListener
capture bool
return void

AddEventListener() public method

public AddEventListener ( string type, HtmlEventHandlerWithTarget listener ) : void
type string
listener HtmlEventHandlerWithTarget
return void

AddEventListener() public method

public AddEventListener ( string type, HtmlEventHandlerWithTarget listener, bool capture ) : void
type string
listener HtmlEventHandlerWithTarget
capture bool
return void

GetContext() public method

public GetContext ( CanvasContextId contextId ) : CanvasRenderingContext
contextId CanvasContextId
return System.Html.Media.Graphics.CanvasRenderingContext

GetContext() public method

public GetContext ( CanvasContextId contextId, object contextOptions ) : CanvasRenderingContext
contextId CanvasContextId
contextOptions object
return System.Html.Media.Graphics.CanvasRenderingContext

GetContext() public method

public GetContext ( string contextId ) : CanvasRenderingContext
contextId string
return System.Html.Media.Graphics.CanvasRenderingContext

GetContext() public method

public GetContext ( string contextId, object contextOptions ) : CanvasRenderingContext
contextId string
contextOptions object
return System.Html.Media.Graphics.CanvasRenderingContext

RemoveEventListener() public method

public RemoveEventListener ( CanvasElementEvents type, Action listener ) : void
type CanvasElementEvents
listener Action
return void

RemoveEventListener() public method

public RemoveEventListener ( CanvasElementEvents type, Action listener, bool capture ) : void
type CanvasElementEvents
listener Action
capture bool
return void

RemoveEventListener() public method

public RemoveEventListener ( CanvasElementEvents type, HtmlEventHandler listener ) : void
type CanvasElementEvents
listener HtmlEventHandler
return void

RemoveEventListener() public method

public RemoveEventListener ( CanvasElementEvents type, HtmlEventHandler listener, bool capture ) : void
type CanvasElementEvents
listener HtmlEventHandler
capture bool
return void

RemoveEventListener() public method

public RemoveEventListener ( CanvasElementEvents type, HtmlEventHandlerWithTarget listener ) : void
type CanvasElementEvents
listener HtmlEventHandlerWithTarget
return void

RemoveEventListener() public method

public RemoveEventListener ( CanvasElementEvents type, HtmlEventHandlerWithTarget listener, bool capture ) : void
type CanvasElementEvents
listener HtmlEventHandlerWithTarget
capture bool
return void

RemoveEventListener() public method

public RemoveEventListener ( CanvasElementEvents type, IEventListener listener ) : void
type CanvasElementEvents
listener IEventListener
return void

RemoveEventListener() public method

public RemoveEventListener ( CanvasElementEvents type, IEventListener listener, bool capture ) : void
type CanvasElementEvents
listener IEventListener
capture bool
return void

RemoveEventListener() public method

public RemoveEventListener ( string type, HtmlEventHandlerWithTarget listener ) : void
type string
listener HtmlEventHandlerWithTarget
return void

RemoveEventListener() public method

public RemoveEventListener ( string type, HtmlEventHandlerWithTarget listener, bool capture ) : void
type string
listener HtmlEventHandlerWithTarget
capture bool
return void

ToBlob() public method

public ToBlob ( Action callback ) : void
callback Action
return void

ToBlob() public method

public ToBlob ( Action callback, string type, object encoderOptions ) : void
callback Action
type string
encoderOptions object
return void

ToDataURL() public method

public ToDataURL ( ) : string
return string

ToDataURL() public method

public ToDataURL ( string type, object encoderOptions ) : string
type string
encoderOptions object
return string