Lines Matching refs:new
18 styledString1: StyledString = new StyledString("45-minute workout");
19 mutableStyledString1: MutableStyledString = new MutableStyledString("35-minute workout");
20 controller1: TextController = new TextController();
21 controller2: TextController = new TextController();
51 …textStyleAttrs: TextStyle = new TextStyle({ fontWeight: FontWeight.Bolder, fontSize: LengthMetrics…
52 …mutableStyledString: MutableStyledString = new MutableStyledString("35-minute workout goal achieve…
63 styledValue: new TextStyle({ fontColor: Color.Orange, fontSize: LengthMetrics.vp(12)})
66 controller: TextController = new TextController();
91 mutableStyledString: MutableStyledString = new MutableStyledString("35-minute workout", [
96 styledValue: new TextShadowStyle({
105 controller: TextController = new TextController();
129 mutableStyledString: MutableStyledString = new MutableStyledString("35-minute workout", [
134 styledValue: new DecorationStyle({type: TextDecorationType.LineThrough, color: Color.Red})
137 controller: TextController = new TextController();
162 mutableStyledString: MutableStyledString = new MutableStyledString("35-minute workout", [
167 styledValue: new BaselineOffsetStyle(LengthMetrics.px(20))
170 controller: TextController = new TextController();
195 …mutableStyledString: MutableStyledString = new MutableStyledString("35-minute workout\nFighting\nA…
200 styledValue: new LineHeightStyle(LengthMetrics.vp(50))
203 controller: TextController = new TextController();
229 mutableStyledString: MutableStyledString = new MutableStyledString("35-minute workout", [
234 styledValue: new LetterSpacingStyle(new LengthMetrics(20, LengthUnit.VP))
237 controller: TextController = new TextController();
264 titleParagraphStyleAttr: ParagraphStyle = new ParagraphStyle({ textAlign: TextAlign.Center });
266 paragraphStyleAttr1: ParagraphStyle = new ParagraphStyle({ textIndent: LengthMetrics.vp(15) });
268 lineHeightStyle1: LineHeightStyle= new LineHeightStyle(new LengthMetrics(24));
270 …paragraphStyledString1: MutableStyledString = new MutableStyledString("Paragraph Title\nFirst para…
281 styledValue: new LineHeightStyle(new LengthMetrics(50))
286 styledValue: new TextStyle({ fontSize: LengthMetrics.vp(24), fontWeight: FontWeight.Bolder })
303 …tyled string, you can also clear the original styles and replace them with new ones later using th…
308 …paragraphStyleAttr3: ParagraphStyle = new ParagraphStyle({ textAlign: TextAlign.End, maxLines: 1, …
310 controller: TextController = new TextController();
337 mutableStr: MutableStyledString = new MutableStyledString('123');
338 controller: TextController = new TextController();
339 …mutableStr2: MutableStyledString = new MutableStyledString('This is set decoration line style to t…
343 styledValue: new DecorationStyle({
369 leadingMarginValue: ParagraphStyle = new ParagraphStyle({ leadingMargin: LengthMetrics.vp(5)})
371 lineHeightStyle1: LineHeightStyle= new LineHeightStyle(new LengthMetrics(24));
373 boldTextStyle: TextStyle = new TextStyle({ fontWeight: FontWeight.Bold });
375 …paragraphStyledString1: MutableStyledString = new MutableStyledString("\n30 HD prints\nCYN5.15 off…
386 styledValue: new TextStyle({ fontSize: LengthMetrics.vp(14), fontColor: '#B22222' })
392 … styledValue: new TextStyle({ fontSize: LengthMetrics.vp(14), fontWeight: FontWeight.Lighter })
401 … paragraphStyledString2: MutableStyledString = new MutableStyledString("\n¥16.21 3000+ reviews", [
412 styledValue: new LineHeightStyle(new LengthMetrics(60))
424 styledValue: new TextStyle({ fontSize: LengthMetrics.vp(18) })
430 styledValue: new TextStyle({ fontSize: LengthMetrics.vp(36) })
436 styledValue: new TextStyle({ fontSize: LengthMetrics.vp(20) })
442 styledValue: new TextStyle({ fontColor: Color.Grey, fontSize: LengthMetrics.vp(14)})
458 this.mutableStr = new MutableStyledString(new ImageAttachment({
483 …apis-arkui/arkui-ts/ts-universal-styled-string.md#setstyle) API to overlay new styles or update ex…
504 const brush = new drawing.Brush();
506 const font = new drawing.Font()
524 let path = new drawing.Path()
553 customSpan3: MyCustomSpan = new MyCustomSpan("99VIP88%off", 200, 40, 30)
554 textStyle: MutableStyledString = new MutableStyledString("123");
555 textController: TextController = new TextController()
563 this.textController.setStyledString(new StyledString(this.customSpan3))
591 …alignCenterParagraphStyleAttr: ParagraphStyle = new ParagraphStyle({ textAlign: TextAlign.Center }…
593 lineHeightStyle1: LineHeightStyle= new LineHeightStyle(LengthMetrics.vp(24));
595 boldTextStyle: TextStyle = new TextStyle({ fontWeight: FontWeight.Bold });
597 …paragraphStyledString1: MutableStyledString = new MutableStyledString("Diamond Membership expired\…
608 styledValue: new LineHeightStyle(LengthMetrics.vp(40))
614 styledValue: new TextStyle({ fontSize: LengthMetrics.vp(14), fontColor: Color.Grey })
629 paragraphStyledString2: MutableStyledString = new MutableStyledString("\n¥4.88¥15", [
640 styledValue: new LineHeightStyle(LengthMetrics.vp(60))
652 styledValue: new TextStyle({ fontSize: LengthMetrics.vp(18)})
658 styledValue: new TextStyle({ fontSize: LengthMetrics.vp(40)})
664 styledValue: new TextStyle({ fontColor: Color.Grey, fontSize: LengthMetrics.vp(14)})
670 styledValue: new DecorationStyle({ type: TextDecorationType.LineThrough, color: Color.Grey })
673 paragraphStyledString3: MutableStyledString = new MutableStyledString("\nOffer ends in 02:06", [
684 styledValue: new LineHeightStyle(LengthMetrics.vp(30))
690 styledValue: new TextStyle({ fontColor: '#FFD700', fontWeight: FontWeight.Bold })
696 styledValue: new TextStyle({ fontColor: '#FFD700', fontWeight: FontWeight.Bold })
699 controller: TextController = new TextController();