From fa61d66c7823a6eb018388a8139b2f11477ef50b Mon Sep 17 00:00:00 2001 From: xiexiyun Date: Fri, 15 Jul 2022 18:05:42 +0800 Subject: [PATCH] fix border image code example error Signed-off-by: xiexiyun Change-Id: I9b8a1143528c452c523cefe8168071477fc1baec --- .../arkui-ts/figures/borderImage.png | Bin 8486 -> 5324 bytes .../arkui-ts/figures/borderImageGradient.png | Bin 0 -> 4174 bytes .../ts-universal-attributes-border-image.md | 29 +++++++++++++----- 3 files changed, 22 insertions(+), 7 deletions(-) create mode 100644 zh-cn/application-dev/reference/arkui-ts/figures/borderImageGradient.png diff --git a/zh-cn/application-dev/reference/arkui-ts/figures/borderImage.png b/zh-cn/application-dev/reference/arkui-ts/figures/borderImage.png index a111a8e4ed06adf129c010801d10880a22018b25..22285e0910e3c447036d2144194a2e4301c2df6f 100644 GIT binary patch literal 5324 zcmds5_d6Wk(w88s6D9Ih77@{cAgh;%UZN~ZB5FhgK}5I9Dp4Xq5}nneuHHph5p6|V z39FZ7vHFI!hz4wRi^d}j3X0l9`cp^hOPThy-V+}R3Z|}q(-pK= z>2nGSc1L|J4U0g#?QDRrMbA09s~%^bd}r=Yi5^E`k>=SeS+A-bXP#DUI6^0=JV#G=g8!(h97cZM z!>Y}lOLxQ`BWBFAW zZZ!%sZBt~HFL^Up0s)~6SB=G=*ib+ERxU>Je=!ezgbB+S02Zw@d0K&behLkH^kc*os>ccdhvAI z9;duXL+hs~?0IfjmvTx4Ny2qotOZJQW(1O&O6yx<6<+ITN+CgY~x6;`f63~?@;7}a}TgMy@f6QKGXU2J$s(UVzj6aa*_mvyK(>ltrercQO=&Uj?f2k3D4mD3 za=8Kgeq@ow^BRagz^>|1${G&?!DQItlkO@wAU2(vsyrtsdqZ1s%#X)sWJbzy?*#I( z?n#gLnWW1RWaX1x& ze(KyMLuX!)#WzFAyEmOC8mYIjyz9H_cU*r zd#IPk6`fybN6hzVm6oEw>V;@w)8K3V@6HTIpUb`@iUH-dT=99IbXn~-!#nNj;M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+pLKfAJ)1N5)y({`=*Gv#HK(! ziGbDM+hlIP@7D|av0Do^$q~51?dq2zQ1ifz@p$kym^~(IW^(d=T)g9XvVE01JH3pV zCpce?)M)#gy~G--XlSnKJ)x1IAKq|2=;Xf7XQSUo1$fSW6!*eIq^W6aMste3N-alO zq;|lv*67QYB^=;^b5s z811FQp<_iORN#U%=5UVGoqE_*fd5(Hi<9+0QW`1x|HQ@J8I~5Dn#Dc1jyNVCQd)36 z3p+myIf{_j+`(Cm2fFI+eQEMb;YXXDcD|Rwzr9!S>4_%?n}2HhwaCKET(t5eNg(__ zp}}+X9!q|QvyyqbdGo=l0!=@5O%ZNyp9YIq8CQ)3+r6uuM9dDn5|%vF?03;%5A^}UDD2rc4t z)BUDdRNdPrZimg`wqM8sNZcDoC7jOW(YS{#&c$$bv`z)FB)t0->Juog8FPBFDNAdQ zu8DYsbvxXt-kFQ^x4gY^PTx2y#A9u$Oo2VrPY|)}Sl^f_LJKL?WOjHo!o%aP`a2-et}NW(%`_$ zsnb;p+TJl+i=%0rQ^f3vI2tcw8J!w-cQA)c$o+j^v!qZ8)DE`p1d3u2B`L)D69Fo; zvVMw(r_X~=$|(DN?v$J76qZYGW!@l57m=?#rKiO;XX2sgR~`Nx1{=*khaf$F+|nG5 zMe{F%j3IyxShlsc%0@dQJ&u4WXu zI%x|l>cNJEzWa{i1d>{Kik#{`Nt4Z}dL)#PshTxnIxC58qe3CW?c8UdK|ds`H{L{@Hl<5 zVtaANn@AhCb=;y!RGLJi!=~bv>^aNQNJh}p?3KnrN6~(+MZWc7I{M2S@EbqL9^R|j@xZwtEa7;uzv13qVO(U(qw3K!-{&#QtG({ zfJE=P0#M9AHUIxQmM+?M6{|l;){&k(LoJbV?HP%J{0{}pbEWqVAA4dHLd`Td0 literal 0 HcmV?d00001 diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-border-image.md b/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-border-image.md index 0bedbd2b91..ca42d63a08 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-border-image.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-border-image.md @@ -43,13 +43,10 @@ @Entry @Component struct Index { - @State message: string = 'This is\nborderImage.' - @State message2: string = 'This is\ngradient color.' - build() { Row() { Column() { - Text(this.message).textAlign(TextAlign.Center) + Text('This is\nborderImage.').textAlign(TextAlign.Center) .borderImage({ source: "borderOrigin.png", slice: {top:"31%", bottom:"31%", left:"31%", right:"31%"}, @@ -58,8 +55,26 @@ struct Index { repeat: RepeatMode.Repeat, fill: false }); - Text(this.message2).textAlign(TextAlign.Center) - .margin(10) + } + .width('100%') + } + .height('100%') + } +} +``` + +![zh-cn_image_borderImage](figures/borderImage.png) + + +```ts +// xxx.ets +@Entry +@Component +struct Index { + build() { + Row() { + Column() { + Text('This is\ngradient color.').textAlign(TextAlign.Center) .borderImage({ source: {angle:90, direction: GradientDirection.Left, @@ -77,4 +92,4 @@ struct Index { } ``` -![zh-cn_image_borderImage](figures/borderImage.png) +![zh-cn_image_borderImageGradient](figures/borderImageGradient.png) -- GitLab