Compare commits
1
Commits
7bc308155e
...
524fc36bf3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
524fc36bf3 |
@@ -56,8 +56,8 @@ public interface RenderScope {
|
|||||||
/**
|
/**
|
||||||
* Frosts a rounded rectangle for a translucent background to be drawn over:
|
* Frosts a rounded rectangle for a translucent background to be drawn over:
|
||||||
* the game behind the screen, blurred by {@code blur}, cut to exactly the
|
* the game behind the screen, blurred by {@code blur}, cut to exactly the
|
||||||
* shape {@link #drawRoundedRectangle} draws. Draws nothing on versions
|
* shape {@link #drawRoundedRectangle} draws. Render scopes without glass
|
||||||
* without glass.
|
* draw nothing.
|
||||||
*/
|
*/
|
||||||
default void drawGlass(int x, int y, int width, int height, int radius, int blur) {
|
default void drawGlass(int x, int y, int width, int height, int radius, int blur) {
|
||||||
drawGlass(getRoundedRectangle(width, height, radius), x, y, width, height, blur);
|
drawGlass(getRoundedRectangle(width, height, radius), x, y, width, height, blur);
|
||||||
|
|||||||
Reference in New Issue
Block a user