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

Method setBlendMode

shared/java/Paint.java:591–597  ·  view source on GitHub ↗

Sets SkBlendMode to mode. Does not check for valid input. @param mode BlendMode used to combine source color and destination @return this

(@NotNull BlendMode mode)

Source from the content-addressed store, hash-verified

589 * @return this
590 */
591 @NotNull @Contract("!null -> this; null -> fail")
592 public Paint setBlendMode(@NotNull BlendMode mode) {
593 assert mode != null : "Paint::setBlendMode expected mode != null";
594 Stats.onNativeCall();
595 _nSetBlendMode(_ptr, mode.ordinal());
596 return this;
597 }
598
599 /**
600 * @return {@link PathEffect} or null

Callers 5

executeMethod · 0.80
drawMethod · 0.80
setCompositeMethod · 0.80
drawMethod · 0.80

Calls 2

onNativeCallMethod · 0.95
_nSetBlendModeMethod · 0.95

Tested by 1

executeMethod · 0.64