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

Method withWeight

shared/java/FontStyle.java:28–30  ·  view source on GitHub ↗
(int weight)

Source from the content-addressed store, hash-verified

26 }
27
28 public FontStyle withWeight(int weight) {
29 return new FontStyle(weight, getWidth(), getSlant());
30 }
31
32 public int getWidth() {
33 return (_value >> 16) & 0xFF;

Callers

nothing calls this directly

Calls 2

getWidthMethod · 0.95
getSlantMethod · 0.95

Tested by

no test coverage detected