Loading graphics/java/android/graphics/text/MeasuredText.java +1 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,7 @@ import libcore.util.NativeAllocationRegistry; * String text = "Hello, Android."; * MeasuredText mt = new MeasuredText.Builder(text.toCharArray()) * .appendStyleRun(paint, 7, false) // Use paint for "Hello, " * .appendStyleRun(bigPaint, 8, false) // Use bigPaint for "Hello, " * .appendStyleRun(bigPaint, 8, false) // Use bigPaint for "Android." * .build(); * </code> * </pre> Loading Loading
graphics/java/android/graphics/text/MeasuredText.java +1 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,7 @@ import libcore.util.NativeAllocationRegistry; * String text = "Hello, Android."; * MeasuredText mt = new MeasuredText.Builder(text.toCharArray()) * .appendStyleRun(paint, 7, false) // Use paint for "Hello, " * .appendStyleRun(bigPaint, 8, false) // Use bigPaint for "Hello, " * .appendStyleRun(bigPaint, 8, false) // Use bigPaint for "Android." * .build(); * </code> * </pre> Loading