class Bitmap alias draw_text_200526 draw_text def draw_text(*args) # 下调像素值 xxx = 1 if args.size >= 4 args[1] += xxx else args[0].y += xxx end draw_text_200526(*args) end end
SixRC 发表于 2020-5-26 23:56
class Bitmap
alias draw_text_200526 draw_text
def draw_text(*args)
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |