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

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

311. 技术文档svg不可以使用 [ 49%]

..." height="100%">' +'<div xmlns="http://www.w3.org/1999/xhtml" style="font-size:40px">' +'<em>I</em> like ' +'<span style="color:white; text-shadow: 0px 1px 0px #999, 0px 2px 0px #888, 0px 3px 0px #777, 0px 4px 0px #666, 0px 5px 0px #555, 0px 6px 0px #444, 0px 7px 0px #333, 0p...

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

312. 字距的调整问题 [ 49%]

...后你找到这个方法 DrawText.drawText=function(ctx,txt,words,curMat,font,textAlign,fillColor,borderColor,lineWidth,x,y,underLine)在 var scale=sx!==1 || sy!==1; 在这句后面加判断 然后把特殊机型都改成sx=sy=1;这样就基本适配了。导致这样是因为特殊机型的缩放...

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

313. Sprite optimizeScrollRect = true 似乎有问题 [ 49%]

..._WHEEL, this, this.onMousewheel); } this.createText = function (_content, _fontSize, _color, _width, _autoSize, _wordWrap, _ID) { var txt = new Text(); txt.text = _content; txt.cacheAs = 'bitmap'; txt.fontSize = _fontSize; txt.bold = true; txt.font = 'wordFont'; txt.color = _color; txt.strokeColor =...

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

314. LayaNative端使用.ttf字体 [ 49%]

...复 cuixueying 赞同来自:   LayaNative端使用.ttf字体的方法setFontFaceFromBuffer(fontFamily,arrayBuffer),fontFamily为字体名称  arrayBuffer为ttf文件的内容 arrayBuffer(下载.ttf文件后的二进制数据)package { import laya.display.Text; import laya.net.Loader; i...

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

315. 2.0字体比较小的时候,某些字显示不全 [ 49%]

...性赋值 txt.text = "gggggqqqqqqqyyyyyyyvvvv"; txt.align = "center"; txt.fontSize = 15; txt.font = "Microsoft YaHei"; txt.color = "#ff0000"; txt.leading = 5; txt.x = (Laya.stage.width - txt.textWidth) / 2; txt.y = (Laya.stage.height - txt.textHeight) / 2; Laya.stage.addChild(txt); } } }上面是我...

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

316. fatal error: 'string' file not found [ 48%]

...会报错。望提供解决方案 p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Menlo; color: #a31515; background-color: #ffffff} span.s1 {color: #0000ff} 附件 : --> 2019-07-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

317. Uncaught Can not find class EffectAnimation undefined [ 48%]

....2运行报错。:getBitmapData Cannot find the specified character in all fonts:263c Warning!,this class[MiniAdpter] already exist: Object {init: } 2.0.0编译报错Cannot find global type 'Array' 构建app后导入AS报错Could not find com.android.tools.build:gradle:3.1.2. 问题状态 最新活...

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

318. 位图字体的排版与注册点问题 [ 48%]

...的letterSpacing属性改变位图与位图之间的间距   eg: bitmapFont.letterSpacing = 20; 第二个问题:   文本属性设置完后,使用text.textWidth和textHeight获取宽高。 或者   如果在已知宽高的情况下,要设置过input.size(),或者input.width和input.heig...

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

319. textinput(type=password)手机打开华为安全键盘后,无法关闭(官网的例子) [ 48%]

...i.size(300, 50);         ti.sizeGrid = "0,40,0,40";         ti.font = "Arial";         ti.fontSize = 30;         ti.bold = true;         ti.color = "#606368";         Laya.stage.addChild(ti);         return ti;     } })(); 附件 : --> TSET.zip 2019-08-14...

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

320. Layabox web 复制一段文字到剪贴板 [ 47%]

...ight:18%;background-color:white;} #confirm{position:fixed;left:49%;top:53%;font-size:30px;color:black;font-weight:bold;margin-right:6%;background-color:white;} </style>

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