| 138 | } |
| 139 | |
| 140 | int 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 | |
| 145 | void NinePatchRect::set_region_rect(const Rect2 &p_region_rect) { |
| 146 | if (region_rect == p_region_rect) { |
no outgoing calls
no test coverage detected