MCPcopy Create free account
hub / github.com/JetBrains/skija / setStroke

Method setStroke

shared/java/Paint.java:159–162  ·  view source on GitHub ↗

Set paint's mode to STROKE if true, or FILL if false. @param value stroke or fill @return this

(boolean value)

Source from the content-addressed store, hash-verified

157 * @return this
158 */
159 @NotNull @Contract("_ -> this")
160 public Paint setStroke(boolean value) {
161 return setMode(value ? PaintMode.STROKE : PaintMode.FILL);
162 }
163
164 /**
165 * Retrieves alpha and RGB, unpremultiplied, packed into 32 bits.

Callers

nothing calls this directly

Calls 1

setModeMethod · 0.95

Tested by

no test coverage detected