displayName property
String
get
displayName
获取工具类型的显示名称
Implementation
String get displayName {
switch (type) {
case DrawingToolType.trendLine:
return '趋势线';
case DrawingToolType.trendAngle:
return '趋势角度';
case DrawingToolType.arrow:
return '箭头';
case DrawingToolType.verticalLine:
return '垂直线';
case DrawingToolType.horizontalLine:
return '水平线';
case DrawingToolType.horizontalRay:
return '水平射线';
case DrawingToolType.ray:
return '射线';
case DrawingToolType.crossLine:
return '十字线';
}
}