Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion android/src/main/java/com/horcrux/svg/RenderableView.java
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ boolean setupStrokePaint(Paint paint, float opacity) {
paint.setStyle(Paint.Style.STROKE);
paint.setStrokeCap(strokeLinecap);
paint.setStrokeJoin(strokeLinejoin);
paint.setStrokeMiter(strokeMiterlimit * mScale);
paint.setStrokeMiter(strokeMiterlimit);
paint.setStrokeWidth((float) strokeWidth);
setupPaint(paint, opacity, stroke);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void setProperty(T view, String propName, @Nullable Object value) {
mViewManager.setStrokeDashoffset(view, value == null ? 0f : ((Double) value).floatValue());
break;
case "strokeMiterlimit":
mViewManager.setStrokeMiterlimit(view, value == null ? 0f : ((Double) value).floatValue());
mViewManager.setStrokeMiterlimit(view, value == null ? 4f : ((Double) value).floatValue());
break;
case "vectorEffect":
mViewManager.setVectorEffect(view, value == null ? 0 : ((Double) value).intValue());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void setProperty(T view, String propName, @Nullable Object value) {
mViewManager.setStrokeDashoffset(view, value == null ? 0f : ((Double) value).floatValue());
break;
case "strokeMiterlimit":
mViewManager.setStrokeMiterlimit(view, value == null ? 0f : ((Double) value).floatValue());
mViewManager.setStrokeMiterlimit(view, value == null ? 4f : ((Double) value).floatValue());
break;
case "vectorEffect":
mViewManager.setVectorEffect(view, value == null ? 0 : ((Double) value).intValue());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void setProperty(T view, String propName, @Nullable Object value) {
mViewManager.setStrokeDashoffset(view, value == null ? 0f : ((Double) value).floatValue());
break;
case "strokeMiterlimit":
mViewManager.setStrokeMiterlimit(view, value == null ? 0f : ((Double) value).floatValue());
mViewManager.setStrokeMiterlimit(view, value == null ? 4f : ((Double) value).floatValue());
break;
case "vectorEffect":
mViewManager.setVectorEffect(view, value == null ? 0 : ((Double) value).intValue());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void setProperty(T view, String propName, @Nullable Object value) {
mViewManager.setStrokeDashoffset(view, value == null ? 0f : ((Double) value).floatValue());
break;
case "strokeMiterlimit":
mViewManager.setStrokeMiterlimit(view, value == null ? 0f : ((Double) value).floatValue());
mViewManager.setStrokeMiterlimit(view, value == null ? 4f : ((Double) value).floatValue());
break;
case "vectorEffect":
mViewManager.setVectorEffect(view, value == null ? 0 : ((Double) value).intValue());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void setProperty(T view, String propName, @Nullable Object value) {
mViewManager.setStrokeDashoffset(view, value == null ? 0f : ((Double) value).floatValue());
break;
case "strokeMiterlimit":
mViewManager.setStrokeMiterlimit(view, value == null ? 0f : ((Double) value).floatValue());
mViewManager.setStrokeMiterlimit(view, value == null ? 4f : ((Double) value).floatValue());
break;
case "vectorEffect":
mViewManager.setVectorEffect(view, value == null ? 0 : ((Double) value).intValue());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public void setProperty(T view, String propName, @Nullable Object value) {
mViewManager.setStrokeDashoffset(view, value == null ? 0f : ((Double) value).floatValue());
break;
case "strokeMiterlimit":
mViewManager.setStrokeMiterlimit(view, value == null ? 0f : ((Double) value).floatValue());
mViewManager.setStrokeMiterlimit(view, value == null ? 4f : ((Double) value).floatValue());
break;
case "vectorEffect":
mViewManager.setVectorEffect(view, value == null ? 0 : ((Double) value).intValue());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void setProperty(T view, String propName, @Nullable Object value) {
mViewManager.setStrokeDashoffset(view, value == null ? 0f : ((Double) value).floatValue());
break;
case "strokeMiterlimit":
mViewManager.setStrokeMiterlimit(view, value == null ? 0f : ((Double) value).floatValue());
mViewManager.setStrokeMiterlimit(view, value == null ? 4f : ((Double) value).floatValue());
break;
case "vectorEffect":
mViewManager.setVectorEffect(view, value == null ? 0 : ((Double) value).intValue());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void setProperty(T view, String propName, @Nullable Object value) {
mViewManager.setStrokeDashoffset(view, value == null ? 0f : ((Double) value).floatValue());
break;
case "strokeMiterlimit":
mViewManager.setStrokeMiterlimit(view, value == null ? 0f : ((Double) value).floatValue());
mViewManager.setStrokeMiterlimit(view, value == null ? 4f : ((Double) value).floatValue());
break;
case "vectorEffect":
mViewManager.setVectorEffect(view, value == null ? 0 : ((Double) value).intValue());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void setProperty(T view, String propName, @Nullable Object value) {
mViewManager.setStrokeDashoffset(view, value == null ? 0f : ((Double) value).floatValue());
break;
case "strokeMiterlimit":
mViewManager.setStrokeMiterlimit(view, value == null ? 0f : ((Double) value).floatValue());
mViewManager.setStrokeMiterlimit(view, value == null ? 4f : ((Double) value).floatValue());
break;
case "vectorEffect":
mViewManager.setVectorEffect(view, value == null ? 0 : ((Double) value).intValue());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void setProperty(T view, String propName, @Nullable Object value) {
mViewManager.setStrokeDashoffset(view, value == null ? 0f : ((Double) value).floatValue());
break;
case "strokeMiterlimit":
mViewManager.setStrokeMiterlimit(view, value == null ? 0f : ((Double) value).floatValue());
mViewManager.setStrokeMiterlimit(view, value == null ? 4f : ((Double) value).floatValue());
break;
case "vectorEffect":
mViewManager.setVectorEffect(view, value == null ? 0 : ((Double) value).intValue());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void setProperty(T view, String propName, @Nullable Object value) {
mViewManager.setStrokeDashoffset(view, value == null ? 0f : ((Double) value).floatValue());
break;
case "strokeMiterlimit":
mViewManager.setStrokeMiterlimit(view, value == null ? 0f : ((Double) value).floatValue());
mViewManager.setStrokeMiterlimit(view, value == null ? 4f : ((Double) value).floatValue());
break;
case "vectorEffect":
mViewManager.setVectorEffect(view, value == null ? 0 : ((Double) value).intValue());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void setProperty(T view, String propName, @Nullable Object value) {
mViewManager.setStrokeDashoffset(view, value == null ? 0f : ((Double) value).floatValue());
break;
case "strokeMiterlimit":
mViewManager.setStrokeMiterlimit(view, value == null ? 0f : ((Double) value).floatValue());
mViewManager.setStrokeMiterlimit(view, value == null ? 4f : ((Double) value).floatValue());
break;
case "vectorEffect":
mViewManager.setVectorEffect(view, value == null ? 0 : ((Double) value).intValue());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void setProperty(T view, String propName, @Nullable Object value) {
mViewManager.setStrokeDashoffset(view, value == null ? 0f : ((Double) value).floatValue());
break;
case "strokeMiterlimit":
mViewManager.setStrokeMiterlimit(view, value == null ? 0f : ((Double) value).floatValue());
mViewManager.setStrokeMiterlimit(view, value == null ? 4f : ((Double) value).floatValue());
break;
case "vectorEffect":
mViewManager.setVectorEffect(view, value == null ? 0 : ((Double) value).intValue());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void setProperty(T view, String propName, @Nullable Object value) {
mViewManager.setStrokeDashoffset(view, value == null ? 0f : ((Double) value).floatValue());
break;
case "strokeMiterlimit":
mViewManager.setStrokeMiterlimit(view, value == null ? 0f : ((Double) value).floatValue());
mViewManager.setStrokeMiterlimit(view, value == null ? 4f : ((Double) value).floatValue());
break;
case "vectorEffect":
mViewManager.setVectorEffect(view, value == null ? 0 : ((Double) value).intValue());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void setProperty(T view, String propName, @Nullable Object value) {
mViewManager.setStrokeDashoffset(view, value == null ? 0f : ((Double) value).floatValue());
break;
case "strokeMiterlimit":
mViewManager.setStrokeMiterlimit(view, value == null ? 0f : ((Double) value).floatValue());
mViewManager.setStrokeMiterlimit(view, value == null ? 4f : ((Double) value).floatValue());
break;
case "vectorEffect":
mViewManager.setVectorEffect(view, value == null ? 0 : ((Double) value).intValue());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void setProperty(T view, String propName, @Nullable Object value) {
mViewManager.setStrokeDashoffset(view, value == null ? 0f : ((Double) value).floatValue());
break;
case "strokeMiterlimit":
mViewManager.setStrokeMiterlimit(view, value == null ? 0f : ((Double) value).floatValue());
mViewManager.setStrokeMiterlimit(view, value == null ? 4f : ((Double) value).floatValue());
break;
case "vectorEffect":
mViewManager.setVectorEffect(view, value == null ? 0 : ((Double) value).intValue());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void setProperty(T view, String propName, @Nullable Object value) {
mViewManager.setStrokeDashoffset(view, value == null ? 0f : ((Double) value).floatValue());
break;
case "strokeMiterlimit":
mViewManager.setStrokeMiterlimit(view, value == null ? 0f : ((Double) value).floatValue());
mViewManager.setStrokeMiterlimit(view, value == null ? 4f : ((Double) value).floatValue());
break;
case "vectorEffect":
mViewManager.setVectorEffect(view, value == null ? 0 : ((Double) value).intValue());
Expand Down
6 changes: 5 additions & 1 deletion apple/RNSVGRenderable.mm
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ - (id)init
_strokeOpacity = 1;
_strokeWidth = [RNSVGLength lengthWithNumber:1];
_fillRule = kRNSVGCGFCRuleNonzero;
_strokeMiterlimit = 4.0;
}
return self;
}
Expand Down Expand Up @@ -236,7 +237,7 @@ - (void)prepareForRecycle
_stroke = nil;
_strokeLinecap = kCGLineCapButt;
_strokeLinejoin = kCGLineJoinMiter;
_strokeMiterlimit = 0;
_strokeMiterlimit = 4.0;
_strokeDasharray = nil;
_strokeDashoffset = 0;
_vectorEffect = kRNSVGVectorEffectDefault;
Expand Down Expand Up @@ -585,6 +586,9 @@ - (void)renderLayerTo:(CGContextRef)context rect:(CGRect)rect
CGContextSetLineWidth(context, width);
CGContextSetLineCap(context, self.strokeLinecap);
CGContextSetLineJoin(context, self.strokeLinejoin);
if (self.strokeLinejoin == kCGLineJoinMiter) {
CGContextSetMiterLimit(context, self.strokeMiterlimit);
}
NSArray<RNSVGLength *> *strokeDasharray = self.strokeDasharray;
NSUInteger count = strokeDasharray.count;

Expand Down
8 changes: 4 additions & 4 deletions apps/fabric-example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1954,7 +1954,7 @@ PODS:
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- RNSVG (15.12.0):
- RNSVG (15.12.1):
- DoubleConversion
- glog
- hermes-engine
Expand All @@ -1977,9 +1977,9 @@ PODS:
- ReactCodegen
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- RNSVG/common (= 15.12.0)
- RNSVG/common (= 15.12.1)
- Yoga
- RNSVG/common (15.12.0):
- RNSVG/common (15.12.1):
- DoubleConversion
- glog
- hermes-engine
Expand Down Expand Up @@ -2324,7 +2324,7 @@ SPEC CHECKSUMS:
RNGestureHandler: 5d8431415d4b8518e86e289e9ad5bb9be78f6dba
RNReanimated: 8b24b49fc13fce9a6e1729ccff645a63d2b7a6d1
RNScreens: c5c07a86e4088ce92f0d3854082250dfa9c61f75
RNSVG: 50819276c95d91ccd8fbe5cfea7e09a416c9beaa
RNSVG: ab2249cc665e5d0b2d30657a766a86c99a649a65
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
Yoga: c758bfb934100bb4bf9cbaccb52557cee35e8bdf

Expand Down
4 changes: 2 additions & 2 deletions apps/paper-example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1645,7 +1645,7 @@ PODS:
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- RNSVG (15.10.0):
- RNSVG (15.12.1):
- React-Core
- SocketRocket (0.7.1)
- Yoga (0.0.0)
Expand Down Expand Up @@ -1940,7 +1940,7 @@ SPEC CHECKSUMS:
RNGestureHandler: 511250b190a284388f9dd0d2e56c1df76f14cfb8
RNReanimated: 3e6072b3d49d4fc687b8f1ba3022f0fdc0b43969
RNScreens: c7ceced6a8384cb9be5e7a5e88e9e714401fd958
RNSVG: 58bad41c581b62cac6265c2899f8f943db527159
RNSVG: 61b5de449d8daa7b75da111990fee37baeb4a6f2
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
Yoga: f8ec45ce98bba1bc93dd28f2ee37215180e6d2b6

Expand Down
2 changes: 1 addition & 1 deletion src/fabric/CircleNativeComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ interface SvgRenderableCommonProps {
strokeLinejoin?: WithDefault<Int32, 0>;
strokeDasharray?: UnsafeMixed<ReadonlyArray<NumberProp> | NumberProp>;
strokeDashoffset?: Float;
strokeMiterlimit?: Float;
strokeMiterlimit?: WithDefault<Float, 4.0>;
vectorEffect?: WithDefault<Int32, 0>;
propList?: ReadonlyArray<string>;
filter?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/fabric/ClipPathNativeComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ interface SvgRenderableCommonProps {
strokeLinejoin?: WithDefault<Int32, 0>;
strokeDasharray?: UnsafeMixed<ReadonlyArray<NumberProp> | NumberProp>;
strokeDashoffset?: Float;
strokeMiterlimit?: Float;
strokeMiterlimit?: WithDefault<Float, 4.0>;
vectorEffect?: WithDefault<Int32, 0>;
propList?: ReadonlyArray<string>;
filter?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/fabric/EllipseNativeComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ interface SvgRenderableCommonProps {
strokeLinejoin?: WithDefault<Int32, 0>;
strokeDasharray?: UnsafeMixed<ReadonlyArray<NumberProp> | NumberProp>;
strokeDashoffset?: Float;
strokeMiterlimit?: Float;
strokeMiterlimit?: WithDefault<Float, 4.0>;
vectorEffect?: WithDefault<Int32, 0>;
propList?: ReadonlyArray<string>;
filter?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/fabric/ForeignObjectNativeComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ interface SvgRenderableCommonProps {
strokeLinejoin?: WithDefault<Int32, 0>;
strokeDasharray?: UnsafeMixed<ReadonlyArray<NumberProp> | NumberProp>;
strokeDashoffset?: Float;
strokeMiterlimit?: Float;
strokeMiterlimit?: WithDefault<Float, 4.0>;
vectorEffect?: WithDefault<Int32, 0>;
propList?: ReadonlyArray<string>;
filter?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/fabric/GroupNativeComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ interface SvgRenderableCommonProps {
strokeLinejoin?: WithDefault<Int32, 0>;
strokeDasharray?: UnsafeMixed<ReadonlyArray<NumberProp> | NumberProp>;
strokeDashoffset?: Float;
strokeMiterlimit?: Float;
strokeMiterlimit?: WithDefault<Float, 4.0>;
vectorEffect?: WithDefault<Int32, 0>;
propList?: ReadonlyArray<string>;
filter?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/fabric/ImageNativeComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ interface SvgRenderableCommonProps {
strokeLinejoin?: WithDefault<Int32, 0>;
strokeDasharray?: UnsafeMixed<ReadonlyArray<NumberProp> | NumberProp>;
strokeDashoffset?: Float;
strokeMiterlimit?: Float;
strokeMiterlimit?: WithDefault<Float, 4.0>;
vectorEffect?: WithDefault<Int32, 0>;
propList?: ReadonlyArray<string>;
filter?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/fabric/LineNativeComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ interface SvgRenderableCommonProps {
strokeLinejoin?: WithDefault<Int32, 0>;
strokeDasharray?: UnsafeMixed<ReadonlyArray<NumberProp> | NumberProp>;
strokeDashoffset?: Float;
strokeMiterlimit?: Float;
strokeMiterlimit?: WithDefault<Float, 4.0>;
vectorEffect?: WithDefault<Int32, 0>;
propList?: ReadonlyArray<string>;
filter?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/fabric/MarkerNativeComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ interface SvgRenderableCommonProps {
strokeLinejoin?: WithDefault<Int32, 0>;
strokeDasharray?: UnsafeMixed<ReadonlyArray<NumberProp> | NumberProp>;
strokeDashoffset?: Float;
strokeMiterlimit?: Float;
strokeMiterlimit?: WithDefault<Float, 4.0>;
vectorEffect?: WithDefault<Int32, 0>;
propList?: ReadonlyArray<string>;
filter?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/fabric/MaskNativeComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ interface SvgRenderableCommonProps {
strokeLinejoin?: WithDefault<Int32, 0>;
strokeDasharray?: UnsafeMixed<ReadonlyArray<NumberProp> | NumberProp>;
strokeDashoffset?: Float;
strokeMiterlimit?: Float;
strokeMiterlimit?: WithDefault<Float, 4.0>;
vectorEffect?: WithDefault<Int32, 0>;
propList?: ReadonlyArray<string>;
filter?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/fabric/PathNativeComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ interface SvgRenderableCommonProps {
strokeLinejoin?: WithDefault<Int32, 0>;
strokeDasharray?: UnsafeMixed<ReadonlyArray<NumberProp> | NumberProp>;
strokeDashoffset?: Float;
strokeMiterlimit?: Float;
strokeMiterlimit?: WithDefault<Float, 4.0>;
vectorEffect?: WithDefault<Int32, 0>;
propList?: ReadonlyArray<string>;
filter?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/fabric/PatternNativeComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ interface SvgRenderableCommonProps {
strokeLinejoin?: WithDefault<Int32, 0>;
strokeDasharray?: UnsafeMixed<ReadonlyArray<NumberProp> | NumberProp>;
strokeDashoffset?: Float;
strokeMiterlimit?: Float;
strokeMiterlimit?: WithDefault<Float, 4.0>;
vectorEffect?: WithDefault<Int32, 0>;
propList?: ReadonlyArray<string>;
filter?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/fabric/RectNativeComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ interface SvgRenderableCommonProps {
strokeLinejoin?: WithDefault<Int32, 0>;
strokeDasharray?: UnsafeMixed<ReadonlyArray<NumberProp> | NumberProp>;
strokeDashoffset?: Float;
strokeMiterlimit?: Float;
strokeMiterlimit?: WithDefault<Float, 4.0>;
vectorEffect?: WithDefault<Int32, 0>;
propList?: ReadonlyArray<string>;
filter?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/fabric/SymbolNativeComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ interface SvgRenderableCommonProps {
strokeLinejoin?: WithDefault<Int32, 0>;
strokeDasharray?: UnsafeMixed<ReadonlyArray<NumberProp> | NumberProp>;
strokeDashoffset?: Float;
strokeMiterlimit?: Float;
strokeMiterlimit?: WithDefault<Float, 4.0>;
vectorEffect?: WithDefault<Int32, 0>;
propList?: ReadonlyArray<string>;
filter?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/fabric/TSpanNativeComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ interface SvgRenderableCommonProps {
strokeLinejoin?: WithDefault<Int32, 0>;
strokeDasharray?: UnsafeMixed<ReadonlyArray<NumberProp> | NumberProp>;
strokeDashoffset?: Float;
strokeMiterlimit?: Float;
strokeMiterlimit?: WithDefault<Float, 4.0>;
vectorEffect?: WithDefault<Int32, 0>;
propList?: ReadonlyArray<string>;
filter?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/fabric/TextNativeComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ interface SvgRenderableCommonProps {
strokeLinejoin?: WithDefault<Int32, 0>;
strokeDasharray?: UnsafeMixed<ReadonlyArray<NumberProp> | NumberProp>;
strokeDashoffset?: Float;
strokeMiterlimit?: Float;
strokeMiterlimit?: WithDefault<Float, 4.0>;
vectorEffect?: WithDefault<Int32, 0>;
propList?: ReadonlyArray<string>;
filter?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/fabric/TextPathNativeComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ interface SvgRenderableCommonProps {
strokeLinejoin?: WithDefault<Int32, 0>;
strokeDasharray?: UnsafeMixed<ReadonlyArray<NumberProp> | NumberProp>;
strokeDashoffset?: Float;
strokeMiterlimit?: Float;
strokeMiterlimit?: WithDefault<Float, 4.0>;
vectorEffect?: WithDefault<Int32, 0>;
propList?: ReadonlyArray<string>;
filter?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/fabric/UseNativeComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ interface SvgRenderableCommonProps {
strokeLinejoin?: WithDefault<Int32, 0>;
strokeDasharray?: UnsafeMixed<ReadonlyArray<NumberProp> | NumberProp>;
strokeDashoffset?: Float;
strokeMiterlimit?: Float;
strokeMiterlimit?: WithDefault<Float, 4.0>;
vectorEffect?: WithDefault<Int32, 0>;
propList?: ReadonlyArray<string>;
filter?: string;
Expand Down
Loading