大约有 133 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0072 秒)
... init(stageConfig?: IStageConfig): Promise<void> init(width: number, height: number, ...plugins: any[]): Promise<void> Defined in Laya.ts:73 初始化引擎。使用引擎需要先初始化引擎,否则可能会报错。 Parameters Optional stageConfig: IStageConfig Returns Promise<...
来源: Laya3.0_api 发布时间: 20231115
...aphics _scene _skinBaseUrl _url autoSize canvasDegree canvasRotation designHeight designWidth focus hitTestPrior mouseThrough name renderingEnabled screenAdaptationEnabled tag useRetinalCanvas ALIGN_BOTTOM ALIGN_CENTER ALIGN_LEFT ALIGN_MIDDLE ALIGN_RIGHT ALIGN_TOP FRAME_FAST FRAME_MOUSE FRAME_SLEEP ...
来源: Laya3.0_api 发布时间: 20231115
...垂直方向中心线的距离(以像素为单位)。 UIComponent clipHeight : Number 竖向分割时每个切片的高度,与 clipY 同时设置时优先级高于 clipY 。 Clip clipWidth : Number 横向分割时每个切片的宽度,与 clipX 同时设置时优先级高于 clipX 。 Clip...
来源: Laya2.0_api 发布时间: 20190513
...向坐标值。 shape.width = 100;//设置 shape 对象的宽度。 shape.height = 100;//设置 shape 对象的高度。 shape.pivotX = 50;//设置 shape 对象的水平方法轴心点坐标。 shape.pivotY = 50;//设置 shape 对象的垂直方法轴心点坐标。 Laya.stage.addChild(shape);//将...
来源: Laya3.0_api 发布时间: 20231115
...cessors active activeInHierarchy alpha blendMode cacheAs components contextHeight contextWidth customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea href innerHTML is3D mask mouseEn...
来源: Laya3.0_api 发布时间: 20231102
...url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX g...
来源: Laya3.0_api 发布时间: 20231115
...url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX g...
来源: Laya3.0_api 发布时间: 20231115
...iddle; 垂直对齐方式 align:left|right|center; 水平对齐方式 line-height:20px; 行高 background-color:#ff0000; 背景颜色 border-color:#ff0000; 边框颜色 width:100px; 对象宽度 height:100px; 对象高度 示例用法: var div:HTMLDivElement=new HTMLDivElement(); div.innerHTML = "...
来源: Laya3.0_api 发布时间: 20231102
... 对象的网格信息。 bg.width = 150;//设置 bg 对象的宽度。 bg.height = 250;//设置 bg 对象的高度。 Laya.stage.addChild(bg);//将此 bg 对象添加到显示列表。 var image:Image = new Image("resource/ui/image.png");//创建一个 Image 类的实例对象 image ,并传入它...
来源: Laya3.0_api 发布时间: 20231115
...lay autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize emitter filters globalRotation global...
来源: Laya3.0_api 发布时间: 20231115