# Shape

Using the `Shape` control, you can create any kind of shape by modifying its various properties.

{% hint style="info" %}
For a full list of properties, methods and events see the [API documentation.](http://docs.wisej.com/api)
{% endhint %}

## Features

### Custom Colors

The `BorderStyle` property for each side of the `Shape` control can be customized to have a different `Color`, `Radius`, `Size` or `Style`.

![Shape control showing different border styles and colors](/files/-MezX3Bi8AHbOzN2QGXf)

### Rotation

The Shape's `Rotation` property can be adjusted to show any custom rotation of the shape.

![Shape control demonstrating rotation animation](/files/-MezZkmwhfUFDiGxwvRK)

## Advanced

### JavaScript Widget

| Item             | Description                                                                                                         |
| ---------------- | ------------------------------------------------------------------------------------------------------------------- |
| Class name       | "wisej.web.Shape"                                                                                                   |
| Theme appearance | "shape", see [Themes](https://docs.wisej.com/theme-builder/theme-elements/elements).                                |
| Source code      | [https://github.com/iceteagroup/wisej-js](https://github.com/iceteagroup/wisej-js/blob/master/wisej.web.TextBox.js) |


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wisej.com/docs/controls/content/shape.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
