getOpacityByVis static method

double getOpacityByVis(
  1. bool vis
)

Implementation

static double getOpacityByVis(bool vis) {
  return vis ? 1.0 : 0;
}