Skip to content

Commit

Permalink
1,完善功能
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyJingFish committed May 12, 2023
1 parent 92b160c commit d96ffed
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,11 +240,11 @@ ALIGN_CENTER adds an alignment method to the current library to solve the alignm

## Gradient parameter list

| Attribute | Parameter Type | Description |
|--------------------|:---------------:|:---------- -------------------------------------------------- --------------------------------------------------: |
| gradientColors | @ColorInt int[] | array of gradient colors (color values are of type ColorInt) |
| gradientPositions | float[] | Gradient color distribution configuration (this array needs to be consistent with the length of gradientColors) |
| orientation | Orientation | LEFT_TO_RIGHT (left to right)/TOP_TO_BOTTOM (top to bottom)/LEFT_TOP_TO_RIGHT_BOTTOM (top left to bottom right)/LEFT_BOTTOM_TO_RIGHT_TOP (bottom left to top right) |
| Attribute | Parameter Type | Description |
|-------------------|:---------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
| gradientColors | @ColorInt int[] | array of gradient colors (color values are of type ColorInt) |
| gradientPositions | float[] | Gradient color distribution configuration (this array needs to be consistent with the length of gradientColors) |
| orientation | Orientation | LEFT_TO_RIGHT (left to right)/TOP_TO_BOTTOM (top to bottom)/LEFT_TOP_TO_RIGHT_BOTTOM (top left to bottom right)/LEFT_BOTTOM_TO_RIGHT_TOP (bottom left to top right) |

## FormatImage parameter list
| property | parameter type | description |
Expand Down

0 comments on commit d96ffed

Please sign in to comment.