# Draw Rectangle

Draw a rectangle on a draw control.

Action available for the following operating systems:

![](/files/-MAlQBZuuTnc6hyzKSVQ)

### Parameters

* **Control** *\<unquoted string> -* The name of the specified draw control.
* **X** *\<numeric> -* The X coordinate where the draw of rectangle begins.
* **Y** *\<numeric> -* The Y coordinate where the draw of rectangle begins.
* **Width** *\<numeric> -* The width of draw rectangle.
* **Height** *\<numeric> -* The height of draw rectangle.
* **Line** *\<radiobox> -* Defines the color of the draw rectangle line. There are two possible options: *Fixed Color* or *Dynamic*.
  * **Fixed Color** - Defines a fixed color from the pallet of colors pre-defined.
  * **Dynamic Color** *\<string> -* User can define a value of a color in RGB. The values for this parameter vary from "000000000" to "255255255".
* **Thickness** *\<numeric> -* The thickness of the draw rectangle.
* **Filled Rectangle** *\<unquoted string> -* This parameter allows user to define if wants to fill with color the draw rectangle. This parameter have three options: *Yes*, *No* or *dynamic*.
* **Fixed Color** - Defines a fixed color from the pallet of colors pre-defined.
* **Dynamic** *\<string> -* User can define a value of a color in RGB. The values for this parameter vary from "000000000" to "255255255".


---

# 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://doc.sysdevmobile.com/kalipso5/developing/form/actions/actions-description/group-controls/draw-rectangle.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.
