| 赞 | 27 |
| VIP | 400 |
| 好人卡 | 13 |
| 积分 | 17 |
| 经验 | 69730 |
| 最后登录 | 2025-11-27 |
| 在线时间 | 3039 小时 |
Lv3.寻梦者 (暗夜天使) 精灵族の天使
- 梦石
- 0
- 星屑
- 1712
- 在线时间
- 3039 小时
- 注册时间
- 2007-3-16
- 帖子
- 33731
 
|
以下摘自F1,这是相关资料。
Rect
矩形的类。
父类Object
类方法Rect.new(x, y, width, height)
生成 Rect 对象。
方法set(x, y, width, height)
设定所有属性。
属性x
矩形左上角的 X 座标。
y
矩形左上角的 Y 座标。
width
矩形的宽度。
height
矩形的高度。 rect
取得位图的矩形(Rect)。
blt(x, y, src_bitmap, src_rect[, opacity])
传送 src_bitmap 的矩形 src_rect(Rect)到该位图的座标(x,y)。
opacity 指定其不透明度,范围为 0 ~ 255。
stretch_blt(dest_rect, src_bitmap, src_rect[, opacity])
传送 src_bitmap 的矩形 src_rect(Rect)到该位图的矩形 dest_rect(Rect)。
opacity 指定其不透明度,范围为 0 ~ 255。
fill_rect(x, y, width, height, color)
fill_rect(rect, color)
以 color(Color)颜色填充该位图的矩形(x,y,width,height)或 rect(Rect)。 [LINE]1,#dddddd[/LINE]系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~ |
|