SpinePathBuilder typedef

SpinePathBuilder = Path Function(Canvas canvas, SpineType spineType, Rect range)

create by 张风捷特烈 on 2020/9/18 contact me by email 1981462002@qq.com 说明: spineHeight : 针尖高度 angle : 针尖角度 (角度值) radius : 圆角半径 offset : 偏移 spineType : 类型 color : 颜色

宽高由父容器指定: 如 Container(

Implementation

/// spineHeight : 针尖高度
/// angle : 针尖角度 (角度值)
/// radius : 圆角半径
/// offset : 偏移
/// spineType : 类型
/// color : 颜色
///
/// 宽高由父容器指定: 如
/// Container(
//     height: 50,
//     width: 100,
//     child: Wrapper()
//  )

typedef SpinePathBuilder = Path Function(
    Canvas canvas, SpineType spineType, Rect range);