ViewLabelProperties constructor

ViewLabelProperties(
  1. {bool animationEnabled = false,
  2. bool labelingEnabled = true}
)

Create a view label property with specified parameters.

Parameters:

  • animationEnabled — true to enable, false to disable the animation.
  • labelingEnabled — true to enable, false to disable the labeling.

Implementation

factory ViewLabelProperties(
    {bool animationEnabled = false, bool labelingEnabled = true}) {
  _initializeArcGISEnvironmentIfNeeded();
  final handle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ViewLabelProperties_createWithParameters(
        animationEnabled, labelingEnabled, errorHandler);
  });
  return ViewLabelProperties._withHandle(handle);
}