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

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

21. laya.display.Graphics_API3.0 [ 75%]

... textAlign: string 文本对齐方式,可选值:"left","center","right"。 lineWidth: number 镶边线条宽度。 borderColor: string 定义镶边文本颜色。 Returns FillTextCmd fillText fillText(text: string | WordText, x: number, y: number, font: string, color: string, textAlign: stri...

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

22. 我想把flex项目转为laya ts项目,转换过程 mx.containers.Canvas报错 [ 75%]

...anvas>                                  <!-- right border -->                     <mx:Canvas x="140" y="0" width="4" height="590" backgroundColor="#c9c9c9"  borderColor="#000000" borderStyle="solid" borderThickness="1">               ...

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

23. laya.ani.GraphicsAni_API3.0 [ 74%]

... textAlign: string 文本对齐方式,可选值:"left","center","right"。 lineWidth: number 镶边线条宽度。 borderColor: string 定义镶边文本颜色。 Returns FillTextCmd fillText fillText(text: string | WordText, x: number, y: number, font: string, color: string, textAlign: stri...

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

24. 想要找设置相对坐标后的view全局坐标,发现有问题,请教一下. [ 73%]

...标 x,y, view 坐标设置为相对于scene的相对坐标, 即: left top right bottom centerX centerY userPanel 坐标设置为相对于view的相对坐标, 即: left top right bottom centerX centerY   现在想要获取 userPanel 的stage 全局坐标, 请教一下, 怎么获取? 附件 : --> 20...

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

25. 关于UI编辑器的小建议 [ 73%]

...的,100*100,这时我相对于上级的坐标希望是相对位置,right=0,top=0,表示右上角对齐,但发现这样不是很好看,我就试着用上下左右微调,这时编辑器会把所有与坐标有关的属性都自动改成绝对定位 2017-02-17 添加评论 免费帖 -->...

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

26. 关于设置动画轴心点问题 [ 73%]

...his.animation.interval = 150; this.animation.play(0, true, ActionType.MOVE_RIGHT); this.addChild(this.animation);   由于动画不能设置锚点,我想设置动画图片宽度/2为轴心点pivotX坐标让图片居中,有什么方法可以自动获得到动画图片宽度吗? 我是想设置...

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

27. laya.ui.VBox [ 73%]

...0。轴心点会影响对象位置,缩放中心,旋转中心。Sprite right : Number 从组件右边到其内容区域右边之间的水平距离(以像素为单位)。 Component rotation : Number旋转角度,默认值为0。以角度为单位。Sprite scaleX : Number[override] X轴缩...

来源: laya_api 发布时间: 20170929

28. laya.ui.AutoBitmap_API3.0 [ 73%]

... textAlign: string 文本对齐方式,可选值:"left","center","right"。 lineWidth: number 镶边线条宽度。 borderColor: string 定义镶边文本颜色。 Returns FillTextCmd fillText fillText(text: string | WordText, x: number, y: number, font: string, color: string, textAlign: stri...

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

29. laya.ui.VBox [ 72%]

...0。轴心点会影响对象位置,缩放中心,旋转中心。Sprite right : Number 从组件右边到其内容区域右边之间的水平距离(以像素为单位)。 UIComponent rotation : Number旋转角度,默认值为0。以角度为单位。Sprite scaleX : Number[override] X轴...

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

30. laya.ui.Tree_API3.0 [ 72%]

...ass Item extends Box { public function Item() { this.name = "render"; this.right = 0; this.left = 0; var selectBox:Clip = new Clip("resource/ui/clip_selectBox.png", 1, 2); selectBox.name = "selectBox"; selectBox.height = 24; selectBox.x = 13; selectBox.y = 0; selectBox.left = 12; addChild(selectBox)...

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