MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / get_patch_margin

Method get_patch_margin

scene/gui/nine_patch_rect.cpp:140–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140int NinePatchRect::get_patch_margin(Side p_side) const {
141 ERR_FAIL_INDEX_V((int)p_side, 4, 0);
142 return margin[p_side];
143}
144
145void NinePatchRect::set_region_rect(const Rect2 &p_region_rect) {
146 if (region_rect == p_region_rect) {

Callers 2

_texture_overlay_drawMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected