Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HumbleUI/Skija
/ withWidth
Method
withWidth
shared/java/FontStyle.java:36–38 ·
view source on GitHub ↗
(int width)
Source
from the content-addressed store, hash-verified
34
}
35
36
public
FontStyle withWidth(
int
width) {
37
return
new
FontStyle(getWeight(), width, getSlant());
38
}
39
40
public
FontSlant getSlant() {
41
return
FontSlant._values[(_value >> 24) & 0xFF];
Callers
nothing calls this directly
Calls
2
getWeight
Method · 0.95
getSlant
Method · 0.95
Tested by
no test coverage detected