Skip to content

Commit 660876d

Browse files
committed
1,修改readme
1 parent 8947e84 commit 660876d

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

README-zh.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,11 +227,11 @@ ALIGN_CENTER 为当前库新增对齐方式旨解决在小图标和文本中心
227227
| textSize | float | 文字字体大小(单位:SP) |
228228
| underline | boolean | 文字是否下划线 |
229229
| underlineColor | @ColorRes int | 文字下划线颜色 |
230-
| underlineWidth | float | 文字下划线线宽 |
231-
| underlineMarginTop | float | 文字下划线向下偏移的距离 |
230+
| underlineWidth | float | 文字下划线线宽(单位:DP) |
231+
| underlineMarginTop | float | 文字下划线向下偏移的距离(单位:DP) |
232232
| deleteLine | boolean | 文字是否删除线 |
233233
| deleteLineColor | @ColorRes int | 文字删除线颜色 |
234-
| deleteLineWidth | float | 文字删除线线宽 |
234+
| deleteLineWidth | float | 文字删除线线宽(单位:DP) |
235235
| backgroundColor | @ColorRes int | 文字区域背景色 |
236236
| ignorePaintShader | boolean | 文字是否忽略TextView的Shader |
237237
| gradient | Gradient | 文字渐变色配置 |

README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -219,24 +219,24 @@ Then the strikethrough will adopt the strikethrough scheme. If you set the gradi
219219
ALIGN_CENTER adds an alignment method to the current library to solve the alignment problem in the center of small icons and text. When the image setting exceeds the line height, there will be a cropping problem. If your image is large, it is recommended to use ALIGN_BASELINE
220220

221221
## FormatText parameter list
222-
| property | parameter type | description |
223-
|--------------------|:--------------:|:-------------------------------------------------------:|
224-
| textColor | @ColorRes int | Text resource color Id |
225-
| bold | boolean | Whether the text is bold |
226-
| italic | boolean | Whether the text is italic |
227-
| strValue | String | Text String type value |
228-
| resValue | @StringRes int | Text ResourceId |
229-
| textSize | float | Text font size (unit: SP) |
230-
| underline | boolean | Whether the text is underlined |
231-
| underlineColor | @ColorRes int | Text underline color |
232-
| underlineWidth | float | Text underline width |
233-
| underlineMarginTop | float | The distance by which the text underline is offset down |
234-
| deleteLine | boolean | Delete line or not |
235-
| deleteLineColor | @ColorRes int | Text strikethrough color |
236-
| deleteLineWidth | float | Text strikethrough line width |
237-
| backgroundColor | @ColorRes int | Text area background color |
238-
| ignorePaintShader | boolean | Whether the text ignores the Shader of the TextView |
239-
| gradient | Gradient | Text Gradient Color Configuration |
222+
| property | parameter type | description |
223+
|--------------------|:--------------:|:------------------------------------------------------------------:|
224+
| textColor | @ColorRes int | Text resource color Id |
225+
| bold | boolean | Whether the text is bold |
226+
| italic | boolean | Whether the text is italic |
227+
| strValue | String | Text String type value |
228+
| resValue | @StringRes int | Text ResourceId |
229+
| textSize | float | Text font size (unit: SP) |
230+
| underline | boolean | Whether the text is underlined |
231+
| underlineColor | @ColorRes int | Text underline color |
232+
| underlineWidth | float | Text underline width (unit: DP) |
233+
| underlineMarginTop | float | The distance by which the text underline is offset down (unit: DP) |
234+
| deleteLine | boolean | Delete line or not |
235+
| deleteLineColor | @ColorRes int | Text strikethrough color |
236+
| deleteLineWidth | float | Text strikethrough line width (unit: DP) |
237+
| backgroundColor | @ColorRes int | Text area background color |
238+
| ignorePaintShader | boolean | Whether the text ignores the Shader of the TextView |
239+
| gradient | Gradient | Text Gradient Color Configuration |
240240

241241
## FormatImage parameter list
242242
| property | parameter type | description |

0 commit comments

Comments
 (0)