shapeType property

ShapeToolType shapeType

The type of geometric shape drawn by this tool, set at instantiation using ShapeTool.new.

Implementation

ShapeToolType get shapeType {
  final coreValue = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ShapeTool_getShapeType(
      _handle,
      errorHandler,
    );
  });
  return ShapeToolType._fromCoreValue(
    coreValue,
  );
}