• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 683 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0083 秒)

111. HtmlDivElement文本的居中与不换行冲突问题 [ 80%]

...yle.wordWrap有冲突。体现在,我设置了文本的宽度_html.style.width = 750,居中_html.style.align=“center”,换行_html.style.wordWrap=false,_html.innerHtml="<font>显示的字符</font>"时,文本不会换行,我的舞台是750宽度的,按理来说显示的...

来源: Laya_社区 发布时间: 20190628

112. laya.ui.ProgressBar [ 80%]

...read-only] 对象的显示高度(以像素单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] ...

来源: Laya2.0_api 发布时间: 20190513

113. laya.device.media.Video_API3.0 [ 80%]

...s currentSrc currentTime customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize duration ended error filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D loop mask mouseEnabled mouseX mouseY muted numChildren parent paused pivotX ...

来源: Laya3.0_api 发布时间: 20231102

114. laya.display.Sprite_API3.0 [ 80%]

...0;//设置 shape 对象相对于父容器的垂直方向坐标值。 shape.width = 100;//设置 shape 对象的宽度。 shape.height = 100;//设置 shape 对象的高度。 shape.pivotX = 50;//设置 shape 对象的水平方法轴心点坐标。 shape.pivotY = 50;//设置 shape 对象的垂直方...

来源: Laya3.0_api 发布时间: 20231115

115. 用LayaAir引擎解析Tiled Map地图(TypeScript-2D进阶篇(TS)-扩展模块) [ 80%]

...ap:Laya.TiledMap; constructor() { //初始化舞台 Laya.init(Laya.Browser.width,Laya.Browser.height,Laya.WebGL); //创建TiledMap实例 this.tMap = new Laya.TiledMap(); //创建Rectangle实例,视口区域 var viewRect:Laya.Rectangle = new Laya.Rectangle(); //创建TiledMap地图 this.tMap.create...

来源: Laya2.0_文档 发布时间: 20210715

116. laya.display.FrameAnimation_API3.0 [ 80%]

...INGPONG WRAP_POSITIVE WRAP_REVERSE drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalSc...

来源: Laya3.0_api 发布时间: 20231115

117. laya.resource.HTMLCanvas_API3.0 [ 80%]

...ext cpuMemory destroyed gpuMemory height id obsolute referenceCount source width cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory clear destroy event getContext getMemSize getTexture hasListener isCreateFromURL off offAll offAllCall...

来源: Laya3.0_api 发布时间: 20231115

118. laya.ui.FontClip [ 80%]

...的高度,与 clipY 同时设置时优先级高于 clipY 。 Clip clipWidth : Number 横向分割时每个切片的宽度,与 clipX 同时设置时优先级高于 clipX 。 Clip clipX : intX轴(横向)切片数量。Clip clipY : intY轴(竖向)切片数量。Clip customRenderEnable : Boo...

来源: Laya2.0_api 发布时间: 20190513

119. laya.ui.AdvImage_API3.0 [ 80%]

...ents customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray group height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation s...

来源: Laya3.0_api 发布时间: 20231102

120. laya.ui.Panel_API3.0 [ 80%]

...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components content customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCall...

来源: Laya3.0_api 发布时间: 20231115