大约有 240 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0030 秒)
Laya3.0_api(137) Laya_社区(48) Laya2.0_文档(16) Laya2.0_api(10) Laya3.0_文档(9) laya_api(8) Laya2.0_示例(6) Laya_示例(6)
...定的div里面 而这个div默认是有样式的 例如有margin 或者 padding 甚至position等 如图 黑色区域是laya生成的canvas 这双鞋子我增加了点击事件 但是没有相应到 而下图这种情况 就有点击事件 问题来了 两种的区别是在与 装laya c...
来源: Laya_社区 发布时间: 20170427
...0"; input.bold = true; input.fontSize = 20; input.color = "#FFFFFF"; input.padding = [0, 4, 0, 4]; return input; } } new Text_Restrict();module laya { import Input = Laya.Input; import Stage = Laya.Stage; import Text = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class...
来源: Laya2.0_示例 发布时间: 20241002
...GHT: number = 275; private CLOSE_BTN_WIDTH: number = 43; private CLOSE_BTN_PADDING: number = 5; private assets: any[]; private dialog: Laya.Dialog; constructor() { super(); } // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { // ...
来源: Laya3.0_文档 发布时间: 20231129
...t._bold; italic = _textFormat._italic; underline = _textFormat._underline; padding = String(_textFormat._leftMargin); // leftMargin = value.leftMargin; // rightMargin = value.rightMargin; // indent = value.indent; // leading = value.leading; } public function get txt():String { return _txt; } public...
来源: Laya_社区 发布时间: 20170516
...e leading : Number 垂直行间距(以像素为单位) TextStyle padding : Array 默认边距信息 [左边距,上边距,右边距,下边距](边距以像素为单位) TextStyle stroke : Number 描边宽度(以像素为单位)。 默认值0,表示不描边。 TextStyle ...
来源: Laya2.0_api 发布时间: 20190513
...royedImmediately dict fontSize letterSpacing lineHeight lock maxWidth name padding texture tint url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destr...
来源: Laya3.0_api 发布时间: 20231115
...bgColor、bordercolor、overflow、wordWrap(默认为true)、leading、padding、underlinecolor、stroke、strokeColor、skin、sizeGrid、type、maxchars、restrict、prompt、promptcolor、editable、multiline(默认为true); 以上属性均已在输入文本组件中列出过,这里不...
来源: Laya3.0_文档 发布时间: 20230629
...个回复 qian 赞同来自: 不同浏览器的兼容不同 你可以修改padding值 调整文字的显示位置 2018-03-05 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 139*****908 相关问题 发起问题须知,必看!!!不...
来源: Laya_社区 发布时间: 20180305
...x-width: 767px) { #laya_content { overflow: auto; margin: 0px auto 0 auto; padding: 0; } } 版本: 分类 类索引
来源: Laya3.0_api 发布时间: 20230115
...x-width: 767px) { #laya_content { overflow: auto; margin: 0px auto 0 auto; padding: 0; } } 版本: 分类 类索引
来源: Laya3.0_api 发布时间: 20230115