What do you think?
Rate this book


567 pages, Kindle Edition
First published June 30, 2015
...declare a Paint.Style object named paintStyle, and set it equal to the default value of Paint.Style.FILL because that is what the watch face vector shape needs to use...
As you type this statement in, an IntelliJ pop-up method helper dialog will appear, and you can select the Paint.Style.FILL option, or double-click it, which will insert it into the Java statement.
The Java method structure, which is shown in figure 10-22, should look like this, once you are done using the IntelliJ pop-up helper dialogs:
private void setBurnInProtect(boolean enabled) {
Paint.Style paintStyle = Paint.Style.FILL;
}
Followed by a screenshot of the IDE showing that code and the pop-up.