MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / getTop

Method getTop

Source/Support/Geometry.cpp:283–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281}
282
283float Rect::getTop() const noexcept {
284 return origin.y + size.height;
285}
286
287void Rect::setTop(float top) {
288 size.height = top - getBottom();

Callers 5

setPositionMethod · 0.80
intersectsRectMethod · 0.80
applyRectMethod · 0.80
rect_get_topFunction · 0.80
queryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected