Retrieves alpha from the color used when stroking and filling. @return alpha ranging from 0, fully transparent, to 255, fully opaque
()
| 257 | * @return alpha ranging from 0, fully transparent, to 255, fully opaque |
| 258 | */ |
| 259 | public int getAlpha() { |
| 260 | return Math.round(getAlphaf() * 255f); |
| 261 | } |
| 262 | |
| 263 | /** |
| 264 | * <p>Replaces alpha, leaving RGB unchanged. An out of range value triggers |