MCPcopy Create free account
hub / github.com/HumbleUI/JWM / getContentRectAbsolute

Method getContentRectAbsolute

shared/java/Window.java:132–135  ·  view source on GitHub ↗

Get window content position and size on the screen as UI rect. This function has the same effect as #getContentRect(), but returned rect has screen relative coordinates. @return UI content rect

()

Source from the content-addressed store, hash-verified

130 * @return UI content rect
131 */
132 public IRect getContentRectAbsolute() {
133 IRect windowRect = getWindowRect();
134 return getContentRect().offset(windowRect._left, windowRect._top);
135 }
136
137 /**
138 * <p>Set window position on the screen.</p>

Callers 1

paintImplMethod · 0.80

Calls 2

getWindowRectMethod · 0.95
getContentRectMethod · 0.95

Tested by

no test coverage detected