大约有 22 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0088 秒)
...nts | Constants Packagelaya.displayClasspublic class TextInheritanceText Sprite Node EventDispatcher ObjectSubclasses Input Text 类用于创建显示对象以显示文本。 注意:如果运行时系统找不到设定的字体,则用系统默认的字体渲染文字,从而导致显示异常...
来源: Laya2.0_api 发布时间: 20190513
...么选择呢。 其中Text是最基础的文本组件,他直接继承于Sprite,而Label继承于UIComponent再往上才是Sprite,从原理上,路径越短,性能自然越好。所以,比较简单的文本,当Text可以满足时,原则上优先使用Text,而Label由于属性非常...
来源: Laya2.0_文档 发布时间: 20210715
...aya.stage.addChild(text);//将 text 添加到显示列表。 } } Hierarchy Sprite Text Input Index Constructors constructor Properties _extra _onPostLayout _ownGraphics _parseEscapeChars _scene _skinBaseUrl _url autoSize hitTestPrior ignoreLang mouseThrough name tag ELLIPSIS HIDDEN RightToLeft SCROL...
来源: Laya3.0_api 发布时间: 20231115
...Constants Packagelaya.displayClasspublic class InputInheritanceInput Text Sprite Node EventDispatcher Object Input 类用于创建显示对象以显示和输入文本。 Input 类封装了原生的文本输入框,由于不同浏览器的差异,会导致此对象的默认文本的位置与用户...
来源: Laya2.0_api 发布时间: 20190513
...Constants Packagelaya.displayClasspublic class InputInheritanceInput Text Sprite Node EventDispatcher Object Input 类用于创建显示对象以显示和输入文本。 Input 类封装了原生的文本输入框,由于不同浏览器的差异,会导致此对象的默认文本的位置与用户...
来源: laya_api 发布时间: 20170929
...fined in laya/display/Node.ts:56 _graphics _graphics: AutoBitmap Overrides Sprite._graphics Defined in laya/ui/TextInput.ts:118 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in ...
来源: Laya3.0_api 发布时间: 20231115
...raphics _graphics: AutoBitmap Inherited from TextInput._graphics Overrides Sprite._graphics Defined in laya/ui/TextInput.ts:118 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in ...
来源: Laya3.0_api 发布时间: 20231115
...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...
来源: Laya3.0_api 发布时间: 20231115
...src='res/boy.png'></img>"; */ export class HTMLDivElement extends Sprite { 下面我们通过一些示例代码来看看运行效果: 3.1 同一个文本中设置Bold、Font、FontSize、Color、下划线 【注意:目前不支持斜体、描边、span标签内嵌的方式】 示例如...
来源: Laya3.0_文档 发布时间: 20230303
...kagelaya.html.domClasspublic class HTMLDivElementInheritanceHTMLDivElement Sprite Node EventDispatcher ObjectSubclasses HTMLIframeElement HTML图文类,用于显示html内容 支持的标签如下: a:链接标签,点击后会派发"link"事件 比如:a div:div容器标签,比如: span:行内...
来源: Laya2.0_api 发布时间: 20190513