1空格就是回车 LS说过了
2 self.contents.font.color = Color.new(255,185,50) 里面数字是RGB代码 自己打开PS对应 这是改颜色
描边方法是 文本 同时显示几个 做偏移
self.contents.font.color = Color.new(0,0,0)
self.contents.draw_text(x+1, y+1, 48, 32, "我是例子", 0)
self.contents.draw_text(x-1, y+1, 48, 32, "我是例子", 0)
self.contents.draw_text(x+1, y-1, 48, 32, "我是例子", 0)
self.contents.draw_text(x-1, y-1, 48, 32, "我是例子", 0)
self.contents.font.color = Color.new(255,255,255)
self.contents.draw_text(x, y, 48, 32, "我是例子", 0) |