大约有 724 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0060 秒)
...mouseEnabled=false,但是只要对其监听任意鼠标事件,会自动打开自己以及所有父对象的mouseEnabled=true。所以一般也无需手动设置mouseEnabled。 LayaAir引擎API设计精简巧妙。核心显示类只有一个Sprite。Sprite针对不同的情况做了渲染优化...
来源: Laya3.0_api 发布时间: 20231115
...(宽,高)`值对应的就是设计宽高。如`Laya.init(750, 1334);`。 打开LayaAirIDE,通过F9快捷键调出的面板里,可以直接设置,效果如图6所示。  (图6) #### 1.7 画布宽高 众所周知,``是HTML5中的画布,其 `width、heigth` 属性就...
来源: Laya2.0_文档 发布时间: 20210715
...ns EventDispatcher open open(): void Defined in laya/ui/ColorPicker.ts:284 打开颜色样本列表面板。 Returns void parentRepaint parentRepaint(type?: number): void Inherited from Text.parentRepaint Defined in laya/display/Sprite.ts:1647 cacheAs时,设置所有父对象缓存失效。 Parame...
来源: Laya3.0_api 发布时间: 20231115
...ue: boolean): void Defined in laya/ui/ComboBox.ts:516 表示下拉列表的打开状态。 Returns boolean Defined in laya/ui/ComboBox.ts:520 表示下拉列表的打开状态。 Parameters value: boolean Returns void itemColors get itemColors(): string set itemColors(value: string): void Defined in...
来源: Laya3.0_api 发布时间: 20231115