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

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

61. 显示与切换图片(ActionScript-LayaAir基础篇(AS3)-位图) [ 84%]

...示与切换图片 ### 1.1 loadImage API概述 在API文档中搜索laya.display.Sprite,可以找到loadImage()方法,如图1所示,我们先熟悉一下该方法的参数。 ![图1](img/1.png) (图1) ### 1.2 用loadImage加载显示图片的示例 创建一个Main.as入口类,并设置为...

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

62. laya.display.Graphics [ 83%]

... | Index | Frames No Frames GraphicsProperties | Methods Packagelaya.displayClasspublic class GraphicsInheritanceGraphics ObjectSubclasses AutoBitmap, GraphicsGL Graphics 类用于创建绘图显示对象。Graphics可以同时绘制多个位图或者矢量图,还可以结合save,restore...

来源: laya_api 发布时间: 20170929

63. laya.display.Text_API3.0 [ 83%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/Text" Text Class Text Text 类用于创建显示对象以显示文本。 注意:如果运行时系统找不到设定的字体,则用系统默认的字体渲染文字,从而导致显示异常。(通常电脑上...

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

64. laya.ui.WXOpenDataViewer_API3.0 [ 83%]

...enterX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY r...

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

65. laya.display.Input_API3.0 [ 83%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/Input" Input Class Input Input 类用于创建显示对象以显示和输入文本。 Input 类封装了原生的文本输入框,由于不同浏览器的差异,会导致此对象的默认文本的位置与用户...

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

66. laya.ui.AdvImage_API3.0 [ 83%]

...enterX centerY components 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 pi...

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

67. 请问这是原因? [ 83%]

...分享 微博 QZONE 微信 133*****579 赞同来自: package { import laya.display.Graphics; import laya.display.Sprite; import laya.events.Event; import laya.maths.Point; import laya.utils.Browser; import laya.webgl.WebGL; import laya.wx.mini.MiniAdpter; public class LayaSample { public var sprite:...

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

68. laya.ui.Label_API3.0 [ 83%]

...d(passwordLabel);//将 passwordLabel 添加到显示列表。 } } see laya.display.Text Hierarchy UIComponent Label TextInput Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWid...

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

69. 绘制圆形与扇形(ActionScript-LayaAir基础篇(AS3)-矢量图) [ 83%]

...圆形的中心点坐标与半径,即可方便的通过LayaAir引擎laya.display.Graphics这个API的“drawCircle();”方法实现。该方法的详细说明如下图所示: ​ ![blob.png](img/1.png) ​ (图1) 下面我们用LayaAir引擎绘制一个圆形,示例代码如下: ```java...

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

70. laya.ui.RadioGroup_API3.0 [ 82%]

...terY components customRenderEnable dataSource destroyed direction disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D items labelBold labelColors labelFont labelPadding labelSize labelStrok...

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