@param p replace Path with a modification when drawn @see https://fiddle.skia.org/c/@Mask_Filter_Methods @see https://fiddle.skia.org/c/@Paint_setPathEffect
(@Nullable PathEffect p)
| 618 | * @see <a href="https://fiddle.skia.org/c/@Paint_setPathEffect">https://fiddle.skia.org/c/@Paint_setPathEffect</a> |
| 619 | */ |
| 620 | @NotNull @Contract("_ -> this") |
| 621 | public Paint setPathEffect(@Nullable PathEffect p) { |
| 622 | try { |
| 623 | Stats.onNativeCall(); |
| 624 | _nSetPathEffect(_ptr, Native.getPtr(p)); |
| 625 | return this; |
| 626 | } finally { |
| 627 | ReferenceUtil.reachabilityFence(p); |
| 628 | } |
| 629 | } |
| 630 | |
| 631 | /** |
| 632 | * @return {@link MaskFilter} if previously set, null otherwise |
no test coverage detected