Settings.enable2dCanvasAcceleration

Set enable2dCanvasAcceleration property.

  1. bool enable2dCanvasAcceleration [@property getter]
  2. bool enable2dCanvasAcceleration [@property setter]
    class Settings
    @property
    void
    enable2dCanvasAcceleration
    (
    bool propval
    )

Parameters

propval bool

Enable or disable 2D canvas acceleration. If this setting is enabled, the 2D canvas will be accelerated even if Skia CPU is used for rendering. However, the canvas can be unaccelerated even when this setting is enabled, for other reasons like its size or when willReadFrequently property is used.