EZUIKit-JavaScript-npm icon indicating copy to clipboard operation
EZUIKit-JavaScript-npm copied to clipboard

ezuikitnative使用setWaterMarkFont方法无效

Open bruce-zhang932 opened this issue 6 months ago • 0 comments

调用setWaterMarkFont方法发现并没有起作用?

const handlePlayerWatermark = (index) => { console.log(player${index});

players.value.setWaterMarkFont(player${index}, { fontString: ['123123'], startPos: { fX: 0.5, fY: 0.5 }, // 范围0~1 fontColor: { fR: 1, fG: 1, fB: 1, fA: 0.15 }, // 范围0~1 fontSize: { nFontWidth: 50, nFontHeight: 50}, fontRotate: { fRotateAngle: -23, fFillFullScreen: true }, // 旋转角度,是否平铺 fontFamily: 'PingFang SC, Microsoft YaHei', fontNumber: { nRowNumber: 4, nColNumber: 4 }, space: 1 }) }

bruce-zhang932 avatar May 06 '26 09:05 bruce-zhang932