Interface HtmlCanvasRuntimeSupport


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

    Modifier and Type
    Method
    Description
     
    Supported rendering modes for the current runtime.
    boolean
    Native WebGPU `copyElementImageToTexture(...)` support.
    boolean
    Native 2D `drawElementImage(...)` support.
    boolean
    Native layout-subtree support or an implied drawing primitive.
    boolean
    Native canvas `paint` event support.
    boolean
    Native canvas `requestPaint()` support.
    boolean
    Whether any native HTML-in-Canvas rendering mode is available.
    boolean
    Native WebGL `texElementImage2D(...)` support.
    void
    setCopyElementImageToTexture(boolean copyElementImageToTexture)
    Native WebGPU `copyElementImageToTexture(...)` support.
    void
    setDrawElementImage(boolean drawElementImage)
    Native 2D `drawElementImage(...)` support.
    void
    setLayoutSubtree(boolean layoutSubtree)
    Native layout-subtree support or an implied drawing primitive.
    void
    Supported rendering modes for the current runtime.
    void
    setPaintEvent(boolean paintEvent)
    Native canvas `paint` event support.
    void
    setRequestPaint(boolean requestPaint)
    Native canvas `requestPaint()` support.
    void
    setSupported(boolean supported)
    Whether any native HTML-in-Canvas rendering mode is available.
    void
    setTexElementImage2D(boolean texElementImage2D)
    Native WebGL `texElementImage2D(...)` support.
  • Method Details

    • create

      @JsOverlay static HtmlCanvasRuntimeSupport create()
    • getModes

      @JsProperty Object getModes()
      Supported rendering modes for the current runtime.
    • isCopyElementImageToTexture

      @JsProperty boolean isCopyElementImageToTexture()
      Native WebGPU `copyElementImageToTexture(...)` support.
    • isDrawElementImage

      @JsProperty boolean isDrawElementImage()
      Native 2D `drawElementImage(...)` support.
    • isLayoutSubtree

      @JsProperty boolean isLayoutSubtree()
      Native layout-subtree support or an implied drawing primitive.
    • isPaintEvent

      @JsProperty boolean isPaintEvent()
      Native canvas `paint` event support.
    • isRequestPaint

      @JsProperty boolean isRequestPaint()
      Native canvas `requestPaint()` support.
    • isSupported

      @JsProperty boolean isSupported()
      Whether any native HTML-in-Canvas rendering mode is available.
    • isTexElementImage2D

      @JsProperty boolean isTexElementImage2D()
      Native WebGL `texElementImage2D(...)` support.
    • setCopyElementImageToTexture

      @JsProperty void setCopyElementImageToTexture(boolean copyElementImageToTexture)
      Native WebGPU `copyElementImageToTexture(...)` support.
    • setDrawElementImage

      @JsProperty void setDrawElementImage(boolean drawElementImage)
      Native 2D `drawElementImage(...)` support.
    • setLayoutSubtree

      @JsProperty void setLayoutSubtree(boolean layoutSubtree)
      Native layout-subtree support or an implied drawing primitive.
    • setModes

      @JsProperty void setModes(Object modes)
      Supported rendering modes for the current runtime.
    • setPaintEvent

      @JsProperty void setPaintEvent(boolean paintEvent)
      Native canvas `paint` event support.
    • setRequestPaint

      @JsProperty void setRequestPaint(boolean requestPaint)
      Native canvas `requestPaint()` support.
    • setSupported

      @JsProperty void setSupported(boolean supported)
      Whether any native HTML-in-Canvas rendering mode is available.
    • setTexElementImage2D

      @JsProperty void setTexElementImage2D(boolean texElementImage2D)
      Native WebGL `texElementImage2D(...)` support.