svga / SVGAPlayer-Flutter

The SVGAPlayer implementation of Flutter using CustomPainter.
Other
245 stars 102 forks source link

Empty path 的问题 #39

Closed SixSheeppp closed 3 years ago

SixSheeppp commented 4 years ago

目前的svga通过PE导出的时候会有一段没有path的形状。

type: ELLIPSE
ellipse: {
}
styles: {
  stroke: {
    r: 0.19607843458652496
    g: 0.6666666865348816
    b: 1.0
    a: 1.0
  }

https://github.com/svga/SVGAPlayer-Flutter/blob/9a0faac0d777bb60e5ad786f0999b2856f48bf91/lib/painter.dart#L324-L330

在这一段代码中,他会画成一个方块

image

attach file: shape.svga.zip