MCPcopy Create free account
hub / github.com/HumbleUI/Skija / setPathEffect

Method setPathEffect

shared/java/Paint.java:620–629  ·  view source on GitHub ↗

@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)

Source from the content-addressed store, hash-verified

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

Callers 7

FontSceneMethod · 0.80
drawConstraintsMethod · 0.80
drawMethod · 0.80
drawMethod · 0.80
drawFillWithPaintMethod · 0.80

Calls 4

onNativeCallMethod · 0.95
_nSetPathEffectMethod · 0.95
getPtrMethod · 0.95
reachabilityFenceMethod · 0.95

Tested by

no test coverage detected