isVisibleAtScale method

  1. @override
bool isVisibleAtScale(
  1. double scale
)
override

Returns the layer content's effective visibility at the specified scale.

Returns the effective layer content visibility. This effective visibility takes care of the effective visibility of the parents at the specified scale. Will return false if an error occurs.

Parameters:

  • scale — The scale the visibility has to be calculated for.

Return Value: A bool.

Implementation

@override
bool isVisibleAtScale(double scale) {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_Layer_isVisibleAtScale(
        _handle, scale, errorHandler);
  });
}