Skip to content

Commit d20cf01

Browse files
author
Vasyl Melnyk
committed
Merge remote-tracking branch 'origin/main'
2 parents 8f1a6a3 + 845bdd8 commit d20cf01

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Features:
2121

2222
| RSBlur | SoftLayer | Elevation |
2323
|-|-|-|
24-
| <img src="/media/rs_blur.gif" width="240"/> | <img src="/media/soft_layer.gif" width="240"/> | <img src="/media/elevation.gif" width="240"/> |
24+
| <img src="/media/rs_blur.gif" width="248"/> | <img src="/media/soft_layer.gif" width="248"/> | <img src="/media/elevation.gif" width="248"/> |
2525

2626
Download or clone this repository to discover the sample app.
2727

@@ -46,7 +46,7 @@ dependencies {
4646
}
4747
```
4848

49-
Latest version is: ![](https://jitpack.io/v/GIGAMOLE/ComposeShadowsPlus.svg?style=flat-square).
49+
Latest version: ![](https://jitpack.io/v/GIGAMOLE/ComposeShadowsPlus.svg?style=flat-square).
5050

5151
Also, it's possible to download the latest artifact from the [releases page](https://github.com/GIGAMOLE/ComposeShadowsPlus/releases).
5252

@@ -58,15 +58,15 @@ Also, it's possible to download the latest artifact from the [releases page](htt
5858

5959
| Param | Description |
6060
|-|-|
61-
|radius|The shadow radius.|
62-
|color|The shadow color.|
63-
|shape|The shadow shape.|
64-
|spread|The shadow positive or negative spread.|
65-
|offset|The shadow offset.|
61+
|`radius`|The shadow radius.|
62+
|`color`|The shadow color.|
63+
|`shape`|The shadow shape.|
64+
|`spread`|The shadow positive or negative spread.|
65+
|`offset`|The shadow offset.|
6666

6767
`ShadowsPlusDefaults` contains default values of custom shadows.
6868

69-
You can use `Modifier.shadowsPlus(...)` to set the custom shadows with `ShadowsPlusType` enum.
69+
You can use `Modifier.shadowsPlus(...)` to set the custom shadows with the `ShadowsPlusType` enum.
7070

7171
### RSBlurShadow
7272

@@ -76,13 +76,13 @@ You can use `Modifier.shadowsPlus(...)` to set the custom shadows with `ShadowsP
7676

7777
| Param | Description |
7878
|-|-|
79-
|alignRadius|The exponential align radius indicator.|
79+
|`alignRadius`|The exponential align radius indicator.|
8080

8181
To apply `RSBlurShadow` use `Modifier.rsBlurShadow(...)`.
8282

8383
### SoftLayerShadow
8484

85-
`SoftLayerShadow` uses `NativePaint.setShadowLayer(...)` to apply native shadow layer to the shadow content.
85+
`SoftLayerShadow` uses `NativePaint.setShadowLayer(...)` to apply the native shadow layer to the shadow content.
8686

8787
To render `SoftLayerShadow`, Android devices with API < 28(P), need to use `View.LAYER_TYPE_SOFTWARE`. It's recommended to use `SoftLayerShadowContainer` to handle this
8888
automatically.

0 commit comments

Comments
 (0)