setEnabled abstract method

void setEnabled(
  1. bool enable
)

Sets whether or not the layer is enabled to be drawn.

  • enable True to enable the layer, false to disable it.

Implementation

void setEnabled(bool enable);