Window_Base ⇐ Window
Window_Base
Kind: global class
Extends: Window
- Window_Base ⇐
Window- new Window_Base()
- .initialize(x, y, width, height)
- .lineHeight() ⇒
number - .standardFontFace() ⇒
string - .standardFontSize() ⇒
number - .standardPadding() ⇒
number - .textPadding() ⇒
number - .standardBackOpacity() ⇒
number - .loadWindowskin()
- .updatePadding()
- .updateBackOpacity()
- .contentsWidth() ⇒
number - .contentsHeight() ⇒
number - .fittingHeight(numLines) ⇒
number - .updateTone()
- .createContents()
- .resetFontSettings()
- .resetTextColor()
- .update()
- .updateOpen()
- .updateClose()
- .open()
- .close()
- .isOpening() ⇒
boolean - .isClosing() ⇒
boolean - .show()
- .hide()
- .activate()
- .deactivate()
- .textColor(n) ⇒
string - .normalColor() ⇒
string - .systemColor() ⇒
string - .crisisColor() ⇒
string - .deathColor() ⇒
string - .gaugeBackColor() ⇒
string - .hpGaugeColor1() ⇒
string - .hpGaugeColor2() ⇒
string - .mpGaugeColor1() ⇒
string - .mpGaugeColor2() ⇒
string - .mpCostColor() ⇒
string - .powerUpColor() ⇒
string - .powerDownColor() ⇒
string - .tpGaugeColor1() ⇒
string - .tpGaugeColor2() ⇒
string - .tpCostColor() ⇒
string - .pendingColor() ⇒
string - .translucentOpacity() ⇒
number - .changeTextColor(color)
- .changePaintOpacity(enabled)
- .drawText(text, x, y, maxWidth, align)
- .textWidth(text) ⇒
number - .drawTextEx(text, x, y) ⇒
number - .convertEscapeCharacters(text) ⇒
string - .actorName(n) ⇒
string - .partyMemberName(n) ⇒
string - .processCharacter(textState)
- .processNormalCharacter(textState)
- .processNewLine(textState)
- .processNewPage(textState)
- .obtainEscapeCode(textState) ⇒
string - .obtainEscapeParam(textState) ⇒
string|number - .processEscapeCharacter(code, textState)
- .processDrawIcon(iconIndex, textState)
- .makeFontBigger()
- .makeFontSmaller()
- .calcTextHeight(textState, all) ⇒
number - .drawIcon(iconIndex, x, y)
- .drawFace(faceName, faceIndex, x, y, width, height)
- .drawCharacter(characterName, characterIndex, x, y)
- .drawGauge(x, y, width, rate, color1, color2)
- .hpColor(actor) ⇒
string - .mpColor(actor) ⇒
string - .tpColor(actor) ⇒
string - .drawActorCharacter(actor, x, y)
- .drawActorFace(actor, x, y, width, height)
- .drawActorName(actor, x, y, width)
- .drawActorClass(actor, x, y, width)
- .drawActorNickname(actor, x, y, width)
- .drawActorLevel(actor, x, y)
- .drawActorIcons(actor, x, y, width)
- .drawCurrentAndMax(current, max, x, y, width, color1, color2)
- .drawActorHp(actor, x, y, width)
- .drawActorMp(actor, x, y, width)
- .drawActorTp(actor, x, y, width)
- .drawActorSimpleStatus(actor, x, y, width)
- .drawItemName(item, x, y, width)
- .drawCurrencyValue(value, unit, x, y, width)
- .paramchangeTextColor(change) ⇒
string - .setBackgroundType(type)
- .showBackgroundDimmer()
- .hideBackgroundDimmer()
- .updateBackgroundDimmer()
- .refreshDimmerBitmap()
- .dimColor1() ⇒
string - .dimColor2() ⇒
string - .canvasToLocalX(x) ⇒
number - .canvasToLocalY(y) ⇒
number - .reserveFaceImages()
new Window_Base()
窗口基类
Window base class
window_Base.initialize(x, y, width, height)
初始化
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| x | number | X 坐标 - X coordinate |
| y | number | Y 坐标 - Y coordinate |
| width | number | 宽度 - Width |
| height | number | 高度 - Height Initialize |
window_Base.lineHeight() ⇒ number
行高度
菜单每一个选项的高度
Kind: instance method of Window_Base
Returns: number - 行高度 - Line height
Line height
window_Base.standardFontFace() ⇒ string
标准字体
Kind: instance method of Window_Base
Returns: string - 字体名称 - Font name
Standard font face
window_Base.standardFontSize() ⇒ number
标准字体大小
Kind: instance method of Window_Base
Returns: number - 字体大小 - Font size
Standard font size
window_Base.standardPadding() ⇒ number
标准填充(内边距)
内容与背景上下左右四边的距离
Kind: instance method of Window_Base
Returns: number - 标准填充 - Standard padding
Standard padding
window_Base.textPadding() ⇒ number
文本填充(内边距)
文本与内容左右两边的距离
Kind: instance method of Window_Base
Returns: number - 文本填充 - Text padding
Text padding
window_Base.standardBackOpacity() ⇒ number
标准背景不透明度
Kind: instance method of Window_Base
Returns: number - 背景不透明度 - Background opacity
Standard back opacity
window_Base.loadWindowskin()
读取窗口皮肤
Load windowskin
Kind: instance method of Window_Base
window_Base.updatePadding()
更新填充(内边距)
Update padding
Kind: instance method of Window_Base
window_Base.updateBackOpacity()
更新背景不透明度
Update back opacity
Kind: instance method of Window_Base
window_Base.contentsWidth() ⇒ number
内容宽度
Kind: instance method of Window_Base
Returns: number - 内容宽度 - Contents width
Contents width
window_Base.contentsHeight() ⇒ number
内容高度
Kind: instance method of Window_Base
Returns: number - 内容高度 - Contents height
Contents height
window_Base.fittingHeight(numLines) ⇒ number
合适的高度
Kind: instance method of Window_Base
Returns: number - 适合的高度 - Fitting height
Fitting height
| Param | Type | Description |
|---|---|---|
| numLines | number | 行数 - Number of lines |
window_Base.updateTone()
更新色调
Update tone
Kind: instance method of Window_Base
window_Base.createContents()
创建内容
Create contents
Kind: instance method of Window_Base
window_Base.resetFontSettings()
重设字体设置
Reset font settings
Kind: instance method of Window_Base
window_Base.resetTextColor()
重设字体颜色
Reset text color
Kind: instance method of Window_Base
window_Base.update()
更新
Update
Kind: instance method of Window_Base
window_Base.updateOpen()
更新打开
Update open
Kind: instance method of Window_Base
window_Base.updateClose()
更新关闭
Update close
Kind: instance method of Window_Base
window_Base.open()
打开
Open
Kind: instance method of Window_Base
window_Base.close()
关闭
Close
Kind: instance method of Window_Base
window_Base.isOpening() ⇒ boolean
是否打开中
Kind: instance method of Window_Base
Returns: boolean - 是否打开中 - Whether is opening
Is opening
window_Base.isClosing() ⇒ boolean
是否关闭中
Kind: instance method of Window_Base
Returns: boolean - 是否关闭中 - Whether is closing
Is closing
window_Base.show()
显示
Show
Kind: instance method of Window_Base
window_Base.hide()
隐藏
Hide
Kind: instance method of Window_Base
window_Base.activate()
活动
Activate
Kind: instance method of Window_Base
window_Base.deactivate()
不活动
Deactivate
Kind: instance method of Window_Base
window_Base.textColor(n) ⇒ string
文本颜色
Kind: instance method of Window_Base
Returns: string - 颜色值 - Color value
Text color
| Param | Type | Description |
|---|---|---|
| n | number | 颜色索引 - Color index |
window_Base.normalColor() ⇒ string
普通颜色
Kind: instance method of Window_Base
Returns: string - 普通颜色值 - Normal color value
Normal color
window_Base.systemColor() ⇒ string
系统颜色
Kind: instance method of Window_Base
Returns: string - 系统颜色值 - System color value
System color
window_Base.crisisColor() ⇒ string
危机颜色
Kind: instance method of Window_Base
Returns: string - 危机颜色值 - Crisis color value
Crisis color
window_Base.deathColor() ⇒ string
死亡颜色
Kind: instance method of Window_Base
Returns: string - 死亡颜色值 - Death color value
Death color
window_Base.gaugeBackColor() ⇒ string
计量条背景颜色
Kind: instance method of Window_Base
Returns: string - 计量条背景颜色值 - Gauge background color value
Gauge back color
window_Base.hpGaugeColor1() ⇒ string
HP 计量条颜色 1
Kind: instance method of Window_Base
Returns: string - HP 计量条颜色 1 值 - HP gauge color 1 value
HP gauge color 1
window_Base.hpGaugeColor2() ⇒ string
HP 计量条颜色 2
Kind: instance method of Window_Base
Returns: string - HP 计量条颜色 2 值 - HP gauge color 2 value
HP gauge color 2
window_Base.mpGaugeColor1() ⇒ string
MP 计量条颜色 1
Kind: instance method of Window_Base
Returns: string - MP 计量条颜色 1 值 - MP gauge color 1 value
MP gauge color 1
window_Base.mpGaugeColor2() ⇒ string
MP 计量条颜色 2
Kind: instance method of Window_Base
Returns: string - MP 计量条颜色 2 值 - MP gauge color 2 value
MP gauge color 2
window_Base.mpCostColor() ⇒ string
MP 消耗颜色
Kind: instance method of Window_Base
Returns: string - MP 消耗颜色值 - MP cost color value
MP cost color
window_Base.powerUpColor() ⇒ string
能力上升颜色
这里指选中的装备与身上装备高对比能力值时上升的颜色
Kind: instance method of Window_Base
Returns: string - 能力上升颜色值 - Power up color value
Power up color
window_Base.powerDownColor() ⇒ string
能力下降颜色
这里指选中的装备与身上装备高对比能力值时下降的颜色
Kind: instance method of Window_Base
Returns: string - 能力下降颜色值 - Power down color value
Power down color
window_Base.tpGaugeColor1() ⇒ string
TP 计量条颜色 1
Kind: instance method of Window_Base
Returns: string - TP 计量条颜色 1 值 - TP gauge color 1 value
TP gauge color 1
window_Base.tpGaugeColor2() ⇒ string
TP 计量条颜色 2
Kind: instance method of Window_Base
Returns: string - TP 计量条颜色 2 值 - TP gauge color 2 value
TP gauge color 2
window_Base.tpCostColor() ⇒ string
TP 消耗颜色
Kind: instance method of Window_Base
Returns: string - TP 消耗颜色值 - TP cost color value
TP cost color
window_Base.pendingColor() ⇒ string
待定颜色(选中选项的那个背景框)
Kind: instance method of Window_Base
Returns: string - 待定颜色值 - Pending color value
Pending color
window_Base.translucentOpacity() ⇒ number
半透明的不透明度
Kind: instance method of Window_Base
Returns: number - 半透明不透明度 - Translucent opacity
Translucent opacity
window_Base.changeTextColor(color)
改变文本颜色
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| color | string | 颜色值 - Color value Change text color |
window_Base.changePaintOpacity(enabled)
改变绘制不透明度
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| enabled | boolean | 指令是否启用 - Whether command is enabled Change paint opacity |
window_Base.drawText(text, x, y, maxWidth, align)
绘制文本
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| text | string | 文本内容 - Text content |
| x | number | X 坐标 - X coordinate |
| y | number | Y 坐标 - Y coordinate |
| maxWidth | number | 最大宽度 - Maximum width |
| align | string | 对齐方式 - Alignment Draw text |
window_Base.textWidth(text) ⇒ number
文本宽度
Kind: instance method of Window_Base
Returns: number - 文本宽度 - Text width
Text width
| Param | Type | Description |
|---|---|---|
| text | string | 文本内容 - Text content |
window_Base.drawTextEx(text, x, y) ⇒ number
绘制文本(扩展)
Kind: instance method of Window_Base
Returns: number - 文本宽度 - Text width
Draw text (extended)
| Param | Type | Description |
|---|---|---|
| text | string | 文本内容 - Text content |
| x | number | X 坐标 - X coordinate |
| y | number | Y 坐标 - Y coordinate |
window_Base.convertEscapeCharacters(text) ⇒ string
转换转义字符
Kind: instance method of Window_Base
Returns: string - 转换后的文本 - Converted text
Convert escape characters
| Param | Type | Description |
|---|---|---|
| text | string | 文本内容 - Text content |
window_Base.actorName(n) ⇒ string
角色名称
Kind: instance method of Window_Base
Returns: string - 角色名称 - Actor name
Actor name
| Param | Type | Description |
|---|---|---|
| n | number | 角色 ID - Actor ID |
window_Base.partyMemberName(n) ⇒ string
队伍成员名称
Kind: instance method of Window_Base
Returns: string - 队伍成员名称 - Party member name
Party member name
| Param | Type | Description |
|---|---|---|
| n | number | 队伍成员索引 - Party member index |
window_Base.processCharacter(textState)
处理字符
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| textState | Object | 文本状态对象 - Text state object Process character |
window_Base.processNormalCharacter(textState)
处理普通字符
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| textState | Object | 文本状态对象 - Text state object Process normal character |
window_Base.processNewLine(textState)
处理新行
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| textState | Object | 文本状态对象 - Text state object Process new line |
window_Base.processNewPage(textState)
处理新页
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| textState | Object | 文本状态对象 - Text state object Process new page |
window_Base.obtainEscapeCode(textState) ⇒ string
获取转义码
Kind: instance method of Window_Base
Returns: string - 转义码 - Escape code
Obtain escape code
| Param | Type | Description |
|---|---|---|
| textState | Object | 文本状态对象 - Text state object |
window_Base.obtainEscapeParam(textState) ⇒ string | number
获取转义参数
Kind: instance method of Window_Base
Returns: string | number - 转义参数 - Escape parameter
Obtain escape param
| Param | Type | Description |
|---|---|---|
| textState | Object | 文本状态对象 - Text state object |
window_Base.processEscapeCharacter(code, textState)
处理转义符
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| code | string | 转义码 - Escape code |
| textState | Object | 文本状态对象 - Text state object Process escape character |
window_Base.processDrawIcon(iconIndex, textState)
处理绘制图标
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| iconIndex | number | 图标索引 - Icon index |
| textState | Object | 文本状态对象 - Text state object Process draw icon |
window_Base.makeFontBigger()
使字体更大
Make font bigger
Kind: instance method of Window_Base
window_Base.makeFontSmaller()
使字体更小
Make font smaller
Kind: instance method of Window_Base
window_Base.calcTextHeight(textState, all) ⇒ number
计算文本高度
Kind: instance method of Window_Base
Returns: number - 文本高度 - Text height
Calculate text height
| Param | Type | Description |
|---|---|---|
| textState | Object | 文本状态对象 - Text state object |
| all | boolean | 是否全部 - Whether all |
window_Base.drawIcon(iconIndex, x, y)
绘制图标
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| iconIndex | number | 图标索引 - Icon index |
| x | number | X 坐标 - X coordinate |
| y | number | Y 坐标 - Y coordinate Draw icon |
window_Base.drawFace(faceName, faceIndex, x, y, width, height)
绘制脸图
当长宽小于脸图长宽时,截取脸图中间部分;当长宽大于脸图长宽时,脸图居中显示。
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| faceName | string | 脸图名称 - Face name |
| faceIndex | number | 脸图索引 - Face index |
| x | number | X 坐标 - X coordinate |
| y | number | Y 坐标 - Y coordinate |
| width | number | 宽度 - Width |
| height | number | 高度 - Height Draw face |
window_Base.drawCharacter(characterName, characterIndex, x, y)
绘制人物
人物行走图的正面朝向的图,例如存档界面里绘制的人物图。
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| characterName | string | 人物行走图名称 - Character name |
| characterIndex | number | 人物索引 - Character index |
| x | number | X 坐标 - X coordinate |
| y | number | Y 坐标 - Y coordinate Draw character |
window_Base.drawGauge(x, y, width, rate, color1, color2)
绘制计量条(HP、MP、TP 的计量条)
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| x | number | X 坐标 - X coordinate |
| y | number | Y 坐标 - Y coordinate |
| width | number | 宽度 - Width |
| rate | number | 比率 - Rate |
| color1 | string | 颜色 1 - Color 1 |
| color2 | string | 颜色 2 - Color 2 Draw gauge |
window_Base.hpColor(actor) ⇒ string
HP 颜色
普通、频死、死亡三种状态下 HP 的数值的颜色不同。
Kind: instance method of Window_Base
Returns: string - HP 颜色值 - HP color value
HP color
| Param | Type | Description |
|---|---|---|
| actor | Game_Actor | 角色对象 - Actor object |
window_Base.mpColor(actor) ⇒ string
MP 颜色
Kind: instance method of Window_Base
Returns: string - MP 颜色值 - MP color value
MP color
| Param | Type | Description |
|---|---|---|
| actor | Game_Actor | 角色对象 - Actor object |
window_Base.tpColor(actor) ⇒ string
TP 颜色
Kind: instance method of Window_Base
Returns: string - TP 颜色值 - TP color value
TP color
| Param | Type | Description |
|---|---|---|
| actor | Game_Actor | 角色对象 - Actor object |
window_Base.drawActorCharacter(actor, x, y)
绘制角色行走图
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| actor | Game_Actor | 角色对象 - Actor object |
| x | number | X 坐标 - X coordinate |
| y | number | Y 坐标 - Y coordinate Draw actor character |
window_Base.drawActorFace(actor, x, y, width, height)
绘制角色脸图
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| actor | Game_Actor | 角色对象 - Actor object |
| x | number | X 坐标 - X coordinate |
| y | number | Y 坐标 - Y coordinate |
| width | number | 宽度 - Width |
| height | number | 高度 - Height Draw actor face |
window_Base.drawActorName(actor, x, y, width)
绘制角色名字
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| actor | Game_Actor | 角色对象 - Actor object |
| x | number | X 坐标 - X coordinate |
| y | number | Y 坐标 - Y coordinate |
| width | number | 宽度 - Width Draw actor name |
window_Base.drawActorClass(actor, x, y, width)
绘制角色职业
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| actor | Game_Actor | 角色对象 - Actor object |
| x | number | X 坐标 - X coordinate |
| y | number | Y 坐标 - Y coordinate |
| width | number | 宽度 - Width Draw actor class |
window_Base.drawActorNickname(actor, x, y, width)
绘制角色昵称
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| actor | Game_Actor | 角色对象 - Actor object |
| x | number | X 坐标 - X coordinate |
| y | number | Y 坐标 - Y coordinate |
| width | number | 宽度 - Width Draw actor nickname |
window_Base.drawActorLevel(actor, x, y)
绘制角色等级
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| actor | Game_Actor | 角色对象 - Actor object |
| x | number | X 坐标 - X coordinate |
| y | number | Y 坐标 - Y coordinate Draw actor level |
window_Base.drawActorIcons(actor, x, y, width)
绘制角色图标(状态的图标,如中毒)
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| actor | Game_Actor | 角色对象 - Actor object |
| x | number | X 坐标 - X coordinate |
| y | number | Y 坐标 - Y coordinate |
| width | number | 宽度 - Width Draw actor icons |
window_Base.drawCurrentAndMax(current, max, x, y, width, color1, color2)
绘制当前值与最大值(HP 和 MP 的值,如 1/100)
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| current | number | 当前值 - Current value |
| max | number | 最大值 - Maximum value |
| x | number | X 坐标 - X coordinate |
| y | number | Y 坐标 - Y coordinate |
| width | number | 宽度 - Width |
| color1 | string | 颜色 1 - Color 1 |
| color2 | string | 颜色 2 - Color 2 Draw current and max |
window_Base.drawActorHp(actor, x, y, width)
绘制角色 HP
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| actor | Game_Actor | 角色对象 - Actor object |
| x | number | X 坐标 - X coordinate |
| y | number | Y 坐标 - Y coordinate |
| width | number | 宽度 - Width Draw actor HP |
window_Base.drawActorMp(actor, x, y, width)
绘制角色 MP
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| actor | Game_Actor | 角色对象 - Actor object |
| x | number | X 坐标 - X coordinate |
| y | number | Y 坐标 - Y coordinate |
| width | number | 宽度 - Width Draw actor MP |
window_Base.drawActorTp(actor, x, y, width)
绘制角色 TP
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| actor | Game_Actor | 角色对象 - Actor object |
| x | number | X 坐标 - X coordinate |
| y | number | Y 坐标 - Y coordinate |
| width | number | 宽度 - Width Draw actor TP |
window_Base.drawActorSimpleStatus(actor, x, y, width)
绘制角色简单的状态(名字、等级、图标、职业、HP、MP)
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| actor | Game_Actor | 角色对象 - Actor object |
| x | number | X 坐标 - X coordinate |
| y | number | Y 坐标 - Y coordinate |
| width | number | 宽度 - Width Draw actor simple status |
window_Base.drawItemName(item, x, y, width)
绘制物品名字
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| item | Game_Item | 物品对象 - Item object |
| x | number | X 坐标 - X coordinate |
| y | number | Y 坐标 - Y coordinate |
| width | number | 宽度 - Width Draw item name |
window_Base.drawCurrencyValue(value, unit, x, y, width)
绘制货币值
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| value | number | 数值 - Value |
| unit | string | 单位 - Unit |
| x | number | X 坐标 - X coordinate |
| y | number | Y 坐标 - Y coordinate |
| width | number | 宽度 - Width Draw currency value |
window_Base.paramchangeTextColor(change) ⇒ string
参数改变文本颜色
装备界面或商店界面比较装备能力值时会使用
Kind: instance method of Window_Base
Returns: string - 颜色值 - Color value
Parameter change text color
| Param | Type | Description |
|---|---|---|
| change | number | 能力值是否改变(正数:能力值上升颜色,负数:能力值下降颜色,0:能力值不变的普通颜色) - Whether parameter changed (positive: power up color, negative: power down color, 0: normal color) |
window_Base.setBackgroundType(type)
设置背景类型
Kind: instance method of Window_Base
| Param | Type | Description |
|---|---|---|
| type | number | 类型(0:窗口,1:暗淡,2:透明) - Type (0: window, 1: dim, 2: transparent) Set background type |
window_Base.showBackgroundDimmer()
设置暗淡背景
Show background dimmer
Kind: instance method of Window_Base
window_Base.hideBackgroundDimmer()
隐藏暗淡背景
Hide background dimmer
Kind: instance method of Window_Base
window_Base.updateBackgroundDimmer()
更新暗淡背景
Update background dimmer
Kind: instance method of Window_Base
window_Base.refreshDimmerBitmap()
刷新暗淡位图
Refresh dimmer bitmap
Kind: instance method of Window_Base
window_Base.dimColor1() ⇒ string
暗淡颜色 1
Kind: instance method of Window_Base
Returns: string - 暗淡颜色 1 值 - Dim color 1 value
Dim color 1
window_Base.dimColor2() ⇒ string
暗淡颜色 2
Kind: instance method of Window_Base
Returns: string - 暗淡颜色 2 值 - Dim color 2 value
Dim color 2
window_Base.canvasToLocalX(x) ⇒ number
画布 X 坐标转换到本地 X 坐标
Kind: instance method of Window_Base
Returns: number - 本地 X 坐标 - Local X coordinate
Canvas X to local X
| Param | Type | Description |
|---|---|---|
| x | number | 画布 X 坐标 - Canvas X coordinate |
window_Base.canvasToLocalY(y) ⇒ number
画布 Y 坐标转换到本地 Y 坐标
Kind: instance method of Window_Base
Returns: number - 本地 Y 坐标 - Local Y coordinate
Canvas Y to local Y
| Param | Type | Description |
|---|---|---|
| y | number | 画布 Y 坐标 - Canvas Y coordinate |
window_Base.reserveFaceImages()
储存脸图图像
Reserve face images
Kind: instance method of Window_Base