> For the complete documentation index, see [llms.txt](https://docs.theseaai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.theseaai.com/main/ch/gong-ju/xing-zhuang.md).

# 形状

直接在场景上绘制矩形、椭圆和线条，以创建视觉元素或提供引导。

<figure><img src="https://2190407032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOUQ3EAPIPziQuBKQgmTy%2Fuploads%2FN5xwtBbI8xGEmgPaUqut%2Fgitbook_shape.png?alt=media&amp;token=4f637184-a2e2-4715-bf75-80f82fad63cf" alt=""><figcaption></figcaption></figure>

***

## 使用方法

{% stepper %}
{% step %}

#### 选择“形状”工具

在场景下方，选择 <i class="fa-square" style="color:$primary;">:square:</i> <kbd><mark style="color:$primary;">**形状**<mark style="color:$primary;"></kbd> 从工具菜单中选择，它为您提供了多种可用的默认形状。默认情况下选中的是矩形工具。点击箭头可从以下选项中选择：

* &#x20;<i class="fa-square" style="color:$primary;">:square:</i> <mark style="color:$primary;">**`矩形`**</mark> 或按 `R` 键盘上的
* &#x20;<i class="fa-circle" style="color:$primary;">:circle:</i> <mark style="color:$primary;">**`椭圆`**</mark> 或按 `O` 键盘上的
* &#x20;<i class="fa-pipe" style="color:$primary;">:pipe:</i> <mark style="color:$primary;">**`线条`**</mark> 或按 `L` 键盘上的
  {% endstep %}

{% step %}

### 在场景中绘制

在画布上单击并拖动即可绘制所选形状。拖动形状的边缘或角点手柄可调整大小，或从形状内部拖动以重新定位。

<figure><img src="https://2190407032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOUQ3EAPIPziQuBKQgmTy%2Fuploads%2FyVgoACDcPNjpqVliBhls%2Fgitbook_shapes.png?alt=media&amp;token=3f0f5ed2-4205-461d-a040-e2fb13a3b92e" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### 更改形状颜色

<figure><img src="https://2190407032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOUQ3EAPIPziQuBKQgmTy%2Fuploads%2FtRBvHRWqbcRzFOrUS1WZ%2Fgitbook_shape_color.png?alt=media&amp;token=95a5fab0-a615-4d20-afca-e101c3894cc3" alt=""><figcaption></figcaption></figure>

1. 选择子菜单左侧的颜色圆圈。
2. 从调色板中选择
3. 使用取色器工具选择颜色
4. 在文本输入框中输入 HEX 颜色值
   {% endstep %}

{% step %}

### 调整透明度和阴影

<figure><img src="https://2190407032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOUQ3EAPIPziQuBKQgmTy%2Fuploads%2F4A4NdjEl1TbYjiPzb7iI%2Fgitbook_shape_transparency.png?alt=media&amp;token=f49261b7-ad47-40f6-84ad-26c6c500abea" alt=""><figcaption></figcaption></figure>

1. 单击或拖动数字面板以调整不透明度和模糊程度
2. 使用切换按钮开启和关闭阴影
3. 调整参数以更改阴影样式
   {% endstep %}

{% step %}

### 调整描边大小和样式

<figure><img src="https://2190407032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOUQ3EAPIPziQuBKQgmTy%2Fuploads%2FYqbpSwZvAPzTvL3muDqp%2Fgitbook_shape_size.png?alt=media&amp;token=85dbfa3e-acad-48bb-a8aa-734d7a140857" alt=""><figcaption></figcaption></figure>

1. 打开描边图标以从不同的描边样式中选择
2. 编辑数值以调整描边宽度。

对于  <i class="fa-square" style="color:$primary;">:square:</i> 矩形工具，通过更改所有圆角或各个独立圆角的数值来调整圆角半径。

<figure><img src="https://2190407032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOUQ3EAPIPziQuBKQgmTy%2Fuploads%2FOalPV5jtuTjDD44LsUED%2Fgitbook_shape_radius.png?alt=media&amp;token=ed71bdbd-8efa-4780-b152-8e3983652f28" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

***


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.theseaai.com/main/ch/gong-ju/xing-zhuang.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
