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

Method setStrokeMiter

shared/java/Paint.java:367–372  ·  view source on GitHub ↗

Sets the limit at which a sharp corner is drawn beveled. Valid values are zero and greater. Has no effect if miter is less than zero. @param miter zero and greater miter limit @return this @see https://fiddle.skia.org/c/@Paint_setStr

(float miter)

Source from the content-addressed store, hash-verified

365 * @see <a href="https://fiddle.skia.org/c/@Paint_setStrokeMiter">https://fiddle.skia.org/c/@Paint_setStrokeMiter</a>
366 */
367 @NotNull @Contract("_ -> this")
368 public Paint setStrokeMiter(float miter) {
369 Stats.onNativeCall();
370 _nSetStrokeMiter(_ptr, miter);
371 return this;
372 }
373
374 /**
375 * @return the geometry drawn at the beginning and end of strokes.

Calls 2

onNativeCallMethod · 0.95
_nSetStrokeMiterMethod · 0.95

Tested by

no test coverage detected