You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cndocs/boxshadowvalue.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,36 +38,36 @@ title: BoxShadowValue 对象类型
38
38
39
39
### `blurRadius`
40
40
41
-
Represents the radius used in the [Guassian blur](https://en.wikipedia.org/wiki/Gaussian_blur)algorithm. The larger the value the blurrier the shadow is. Only non-negative values are valid. The default is 0.
The `BoxShadowValue`object is taken by the [`boxShadow`](./view-style-props.md#boxshadow)style prop. It is comprised of 2-4 lengths, an optional color, and an optional `inset`boolean. These values collectively define the box shadow's color, position, size, and blurriness.
@@ -18,56 +18,56 @@ The `BoxShadowValue` object is taken by the [`boxShadow`](./view-style-props.md#
18
18
}
19
19
```
20
20
21
-
## Keys and values
21
+
## 键和值
22
22
23
23
### `offsetX`
24
24
25
-
The offset on the x-axis. This can be positive or negative. A positive value indicates right and negative indicates left.
25
+
在 x 轴上的偏移量。它可以是正数或负数。正数表示向右,负数表示向左。
26
26
27
-
|Type|Optional|
28
-
| ---------------- | --------|
29
-
| number \| string | No |
27
+
|类型|可选|
28
+
| ---------------- | ---- |
29
+
| number \| string | No |
30
30
31
31
### `offsetY`
32
32
33
-
The offset on the y-axis. This can be positive or negative. A positive value indicates up and negative indicates down.
33
+
在 y 轴上的偏移量。它可以是正数或负数。正数表示向上,负数表示向下。
34
34
35
-
|Type|Optional|
36
-
| ---------------- | --------|
37
-
| number \| string | No |
35
+
|类型|可选|
36
+
| ---------------- | ---- |
37
+
| number \| string | No |
38
38
39
39
### `blurRadius`
40
40
41
-
Represents the radius used in the [Guassian blur](https://en.wikipedia.org/wiki/Gaussian_blur)algorithm. The larger the value the blurrier the shadow is. Only non-negative values are valid. The default is 0.
0 commit comments