Skip to content

Commit c6a8c14

Browse files
authored
Merge pull request GcsSloop#69 from icodeu/patch-1
fix spelling error
2 parents a7b27e9 + dcec08b commit c6a8c14

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CustomView/Advance/[04]Canvas_PictureText.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -415,9 +415,9 @@ PS:图片左上角位置默认为坐标原点。
415415
| ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- |
416416
| 下标 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
417417

418-
假设我我们指定star为1,end为3,那么最终截取的字符串就是"BC"。
418+
假设我们指定start为1,end为3,那么最终截取的字符串就是"BC"。
419419

420-
一般来说,**使用start和end指定的区间是前闭后开的,即包含start指定的下标,而不包含end指定的下标**,故[1,3)最后获取到的下标只有 下标1 和 下标2 的字符,就是"BC".
420+
一般来说,**使用start和end指定的区间是前闭后开的,即包含start指定的下标,而不包含end指定的下标**,故[1,3)最后获取到的下标只有 下标1 和 下标2 的字符,就是"BC"
421421

422422
示例:
423423
``` java
@@ -430,7 +430,7 @@ PS:图片左上角位置默认为坐标原点。
430430

431431
另外,对于字符数组char[]我们截取字符串使用起始位置(index)和长度(count)来确定。
432432

433-
同样,我们指定index为1,count为3,那么最终截取到的字符串是"BCD".
433+
同样,我们指定index为1,count为3,那么最终截取到的字符串是"BCD"
434434

435435
其实就是从下标位置为1处向后数3位就是截取到的字符串,示例:
436436
``` java

0 commit comments

Comments
 (0)