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

大约有 44 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0087 秒)

21. laya.display.Text [ 57%]

...默认会把 "黑体" 映射为 "黑体-简",更多映射,可以添加Text  fontSize : int 指定文本的字体大小(以像素为单位)。 默认为20像素,可以通过 Text.defaultFontSize 设置默认大小。 Text globalRotation : Number[read-only] 获得相对于stage的...

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

22. laya.display.Input [ 54%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By _fontFamilyMap : Object[static] 存在于这个映射表中的字体,在IPhone上,...

来源: laya_api 发布时间: 20170929

23. laya.ui.TextInput_API3.0 [ 53%]

...置 textInput 的高度。 Laya.stage.addChild(textInput);//将 textInput 添加显示列表。 } } } example Laya.init(640, 800);//设置游戏画布宽高 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 Laya.loader.load(["resource/ui/input.png"], laya.utils.Handler.create(this, onL...

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

24. laya.ui.TextArea_API3.0 [ 53%]

.../设置 textArea 的高度。 Laya.stage.addChild(textArea);//将 textArea 添加显示列表。 } } } example Laya.init(640, 800);//设置游戏画布宽高、渲染模式 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 Laya.loader.load(["resource/ui/input.png"], laya.utils.Handler....

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

25. laya.ui.Label_API3.0 [ 51%]

...t = 200;//设置 label 的高度。 Laya.stage.addChild(label);//将 label 添加显示列表。 var passwordLabel:Label = new Label("请原谅我,我不想被人看我心里话。");//创建一个 Label 类的实例对象 passwordLabel 。 passwordLabel.asPassword = true;//设置 passwordLa...

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

26. laya.ui.TextArea [ 49%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By measureHeight : Number[override] [read-only] 显示对象的实际显示区域高度...

来源: laya_api 发布时间: 20170929

27. laya.ui.FontClip [ 48%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来...

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

28. laya.display.Text_API3.0 [ 47%]

.../设置 text 的文本边框颜色。 Laya.stage.addChild(text);//将 text 添加显示列表。 } } } example Text_Example(); function Text_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } fun...

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

29. laya.ui.TextInput [ 45%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By measureHeight : Number[override] [read-only] 显示对象的实际显示区域高度...

来源: laya_api 发布时间: 20170929

30. laya.ui.TextArea [ 43%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来...

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