Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f530de3a authored by Seigo Nonaka's avatar Seigo Nonaka
Browse files

Add more description for null/empty override case

Bug: 389111359
Test: N/A (doc only change)
Flag: NONE API documentation only change

Change-Id: I43ff2a4af60f61643505a4d901fd2db227b9f01f
parent 3791a5a9
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -2198,10 +2198,12 @@ public class Paint {
     * is configured as {@code 'wght' 500, 'ital' 1}, and if the override is specified as
     * {@code 'wght' 700, `wdth` 150}, then the effective font variation setting is
     * {@code `wght' 700, 'ital' 1, 'wdth' 150}. The `wght` value is updated by override, 'ital'
     * value is preserved because no overrides, and `wdth` value is added by override.
     * value is preserved because no overrides, and `wdth` value is added by override. If the font
     * variation override is empty or null, nothing overrides and original font variation settings
     * assigned to the font instance is used as it is.
     *
     * @param fontVariationOverride font variation settings. You can pass null or empty string as
     *                              no variation settings.
     * @param fontVariationOverride font variation override. You can pass null or empty string for
     *                              clearing font variation override.
     *
     * @return true if the provided font variation settings is valid. Otherwise returns false.
     *