Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codenameone/CodenameOne
/ getAscent
Method
getAscent
CodenameOne/src/com/codename1/ui/Font.java:807–809 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
805
///
806
/// the ascent in pixels
807
public
int
getAscent() {
808
return
Display.impl.getFontAscent(font);
809
}
810
811
/// The descent is the amount by which the character descends below the baseline
812
///
Callers
7
getBaseline
Method · 0.95
calculate
Method · 0.95
getAbsolutePixels
Method · 0.95
drawLabelImageValign
Method · 0.95
drawLabelStringValign
Method · 0.95
calculateSpanForLabelStringValign
Method · 0.95
testBaselineAlignmentCalculations
Method · 0.95
Calls
1
getFontAscent
Method · 0.45
Tested by
1
testBaselineAlignmentCalculations
Method · 0.76