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

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

81. 使用 HTMLDivElement 时,如果有文字和数字同时存在的话,会对不齐,且会换行 [ 71%]

...你的代码贴下,我们看下! 匿名用户 • 2017-03-27 13:14 var Text = new HTMLDivElement(); barWrap.addChild(Text); Text.color = "#fff"; Text.style.fontSize = 24; Text.innerHTML = "子弹命中率:<span style='color: #ee452c'>50</span>\/100 50%"; Text.po...

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

82. 一个关于getPixels的问题 [ 71%]

...题 空工程中代码如下: Main.js: const Sprite = Laya.Sprite; const Text = Laya.Text; const Texture = Laya.Texture;  Laya.init(800, 600);  var txt = new Text(); txt.pos(200, 200); txt.color = "#FFFFFF"; txt.text = "000000"; Laya.stage.addChild(txt);  var spr = new Sprite(); spr.size(50, 50...

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

83. laya.display.FrameAnimation_API3.0 [ 71%]

...votY rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains custo...

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

84. tween对Text的缩放,为何会抖动呢? [ 71%]

tween对Text的缩放,为何会抖动呢? 环境: win10,layaide2.6.0_beta,typescript   demo比较简单,就       let txt: Laya.Text = new Laya.Text();     txt.text = "大家好";     txt.color = "#ff0000";     txt.fontSize = 30;     txt.pos(Laya.stage.w...

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

85. laya.spine.SpineSkeleton_API3.0 [ 71%]

...leY scene scrollRect skewX skewY skinName source stage staticCache templet texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addAnimation addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customR...

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

86. laya.display.EffectAnimation_API3.0 [ 71%]

...tation scaleX scaleY scene scrollRect skewX skewY stage staticCache target texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains custo...

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

87. laya.ui.UIComponent_API3.0 [ 71%]

...er Label Image Slider ScrollBar ComboBox ProgressBar TipManager OpenDataContextView Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha ancho...

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

88. laya.ani.bone.Skeleton_API3.0 [ 70%]

...leY scene scrollRect skewX skewY skinName source stage staticCache templet texture timer total transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender d...

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

89. laya.ui.Label [ 70%]

...belInheritanceLabel Component Sprite Node EventDispatcher ObjectSubclasses TextInput Label 类用于创建显示对象以显示文本。 See alsolaya.display.TextPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  align : String 表示文本的...

来源: laya_api 发布时间: 20170929

90. laya.media.VideoNode_API3.0 [ 70%]

...leY scene scrollRect seekable seeking skewX skewY source stage staticCache texture timer transform url videoHeight videoTexture videoWidth viewport visible volume width x y zOrder Methods _initialize _processActive _setX _setY addChild addChildAt addChildren addComponent addComponentInstance bubbleE...

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