HorizontalVerticalTransformationStep.withWkText constructor

HorizontalVerticalTransformationStep.withWkText(
  1. String wkText
)

Creates a new HorizontalVerticalTransformationStep instance from a well-known text string.

Parameters:

  • wkText — The well-known text of the transformation step to create.

Implementation

factory HorizontalVerticalTransformationStep.withWkText(String wkText) {
  _initializeArcGISEnvironmentIfNeeded();
  final coreWkText = _CString(wkText);
  final handle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore
        .RT_HorizontalVerticalTransformationStep_createWithWKText(
            coreWkText.bytes, errorHandler);
  });
  return HorizontalVerticalTransformationStep._withHandle(handle);
}