Interface HtmlCanvasService


@JsType(isNative=true, name="ng.HtmlCanvasService", namespace="<global>") public interface HtmlCanvasService
Public AngularTS HtmlCanvasService contract exposed through the global ng namespace for Closure-annotated applications.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    TypeScript callback contract for this method.
  • Method Summary

    Modifier and Type
    Method
    Description
    Public HtmlCanvasService.config member exposed by the AngularTS namespace contract.
    Public HtmlCanvasService.support member exposed by the AngularTS namespace contract.
    void
    invalidate(elemental2.dom.HTMLCanvasElement canvas)
    Public HtmlCanvasService.invalidate member exposed by the AngularTS namespace contract.
    boolean
    Public HtmlCanvasService.enabled member exposed by the AngularTS namespace contract.
    boolean
    Public HtmlCanvasService.supported member exposed by the AngularTS namespace contract.
    registerRoot(elemental2.dom.HTMLCanvasElement canvas, Object options)
    Public HtmlCanvasService.registerRoot member exposed by the AngularTS namespace contract.
    registerSource(elemental2.dom.HTMLCanvasElement canvas, elemental2.dom.Element source, Object options)
    Public HtmlCanvasService.registerSource member exposed by the AngularTS namespace contract.
    void
    requestPaint(elemental2.dom.HTMLCanvasElement canvas)
    Public HtmlCanvasService.requestPaint member exposed by the AngularTS namespace contract.
    void
    setConfig(Object config)
    Public HtmlCanvasService.config member exposed by the AngularTS namespace contract.
    void
    setEnabled(boolean enabled)
    Public HtmlCanvasService.enabled member exposed by the AngularTS namespace contract.
    void
    Public HtmlCanvasService.support member exposed by the AngularTS namespace contract.
    void
    setSupported(boolean supported)
    Public HtmlCanvasService.supported member exposed by the AngularTS namespace contract.
  • Method Details

    • getConfig

      @JsProperty Object getConfig()
      Public HtmlCanvasService.config member exposed by the AngularTS namespace contract.
    • getSupport

      @JsProperty HtmlCanvasRuntimeSupport getSupport()
      Public HtmlCanvasService.support member exposed by the AngularTS namespace contract.
    • invalidate

      void invalidate(elemental2.dom.HTMLCanvasElement canvas)
      Public HtmlCanvasService.invalidate member exposed by the AngularTS namespace contract.
      Parameters:
      canvas - Value supplied for the canvas parameter.
    • isEnabled

      @JsProperty boolean isEnabled()
      Public HtmlCanvasService.enabled member exposed by the AngularTS namespace contract.
    • isSupported

      @JsProperty boolean isSupported()
      Public HtmlCanvasService.supported member exposed by the AngularTS namespace contract.
    • registerRoot

      Object registerRoot(elemental2.dom.HTMLCanvasElement canvas, Object options)
      Public HtmlCanvasService.registerRoot member exposed by the AngularTS namespace contract.
      Parameters:
      canvas - Value supplied for the canvas parameter.
      options - Value supplied for the options parameter.
      Returns:
      Method result.
    • registerSource

      HtmlCanvasService.Subscription registerSource(elemental2.dom.HTMLCanvasElement canvas, elemental2.dom.Element source, Object options)
      Public HtmlCanvasService.registerSource member exposed by the AngularTS namespace contract.
      Parameters:
      canvas - Value supplied for the canvas parameter.
      source - Value supplied for the source parameter.
      options - Value supplied for the options parameter.
      Returns:
      Method result.
    • requestPaint

      void requestPaint(elemental2.dom.HTMLCanvasElement canvas)
      Public HtmlCanvasService.requestPaint member exposed by the AngularTS namespace contract.
      Parameters:
      canvas - Value supplied for the canvas parameter.
    • setConfig

      @JsProperty void setConfig(Object config)
      Public HtmlCanvasService.config member exposed by the AngularTS namespace contract.
    • setEnabled

      @JsProperty void setEnabled(boolean enabled)
      Public HtmlCanvasService.enabled member exposed by the AngularTS namespace contract.
    • setSupport

      @JsProperty void setSupport(HtmlCanvasRuntimeSupport support)
      Public HtmlCanvasService.support member exposed by the AngularTS namespace contract.
    • setSupported

      @JsProperty void setSupported(boolean supported)
      Public HtmlCanvasService.supported member exposed by the AngularTS namespace contract.