Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Wind-stormger committed Sep 1, 2023
1 parent 2e1a552 commit 463d857
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Fill rectangle `width` by `height` starting at `x`, `y` with `color` optionally

We can display a semi-transparent black rectangle on top of this image.

![](../assets/images/semi-transparent_rectangular_text_box_1.jpg)

```py
""" BPI-Centi-S3 170x320 ST7789 display """

Expand Down Expand Up @@ -46,6 +48,8 @@ main()

### Display text in a semi-transparent rectangle

![](../assets/images/semi-transparent_rectangular_text_box_2.jpg)

```py
""" BPI-Centi-S3 170x320 ST7789 display """

Expand Down Expand Up @@ -89,6 +93,9 @@ main()
```

### Create a semi-transparent text box based on the character length

![](../assets/images/semi-transparent_rectangular_text_box_3.jpg)

```py
""" BPI-Centi-S3 170x320 ST7789 display """

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

我们可以在这个图片上显示一个半透明的黑色矩形框。

![](../assets/images/semi-transparent_rectangular_text_box_1.jpg)

```py
""" BPI-Centi-S3 170x320 ST7789 display """

Expand Down Expand Up @@ -49,6 +51,8 @@ main()

### 在半透明矩形框内显示文本

![](../assets/images/semi-transparent_rectangular_text_box_2.jpg)

```py
""" BPI-Centi-S3 170x320 ST7789 display """

Expand Down Expand Up @@ -92,6 +96,9 @@ main()
```

### 根据字符长度创建半透明文本框

![](../assets/images/semi-transparent_rectangular_text_box_3.jpg)

```py
""" BPI-Centi-S3 170x320 ST7789 display """

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 463d857

Please sign in to comment.