<commit_before># Drawing > Drawing

***

## Basic

### Draw Text

![draw-text-block](http://static.stencyl.com/pedia2/block-images/9%20-%20Drawing/0%20-%20Drawing/draw-text.png)

aaa

```
aaa
```

***

### Draw Line

![draw-line-block](http://static.stencyl.com/pedia2/block-images/9%20-%20Drawing/0%20-%20Drawing/draw-line.png)

aaa

```
aaa
```

***

### Fill Pixel

![fill-pixel-block](http://static.stencyl.com/pedia2/block-images/9%20-%20Drawing/0%20-%20Drawing/draw-pixel.png)

aaa

```
aaa
```

***

## Actor Drawing

### Draw Image for Actor

![draw-actor-block](http://static.stencyl.com/pedia2/block-images/9%20-%20Drawing/0%20-%20Drawing/draw-image-actor.png)

***

## Rectangles

### Draw Rectangle

![draw-rect-block](http://static.stencyl.com/pedia2/block-images/9%20-%20Drawing/0%20-%20Drawing/drawfill-rect.png)

aaa

```
aaa
```

***

### Draw Rounded Rectangle

![draw-round-rect-block](http://static.stencyl.com/pedia2/block-images/9%20-%20Drawing/0%20-%20Drawing/drawfill-roundrect.png)

aaa

```
aaa
```

***

## Circles

### Draw Circle

![draw-circle-block](http://static.stencyl.com/pedia2/block-images/9%20-%20Drawing/0%20-%20Drawing/drawfill-circle.png)

aaa

```
aaa
```

***

## Polygons

### Draw Polygon

![draw-poly-block](http://static.stencyl.com/pedia2/block-images/9%20-%20Drawing/0%20-%20Drawing/drawfill-poly.png)

aaa

```
aaa
```

***

### Add Point to Polygon

![add-poly-block](http://static.stencyl.com/pedia2/block-images/9%20-%20Drawing/0%20-%20Drawing/add-to-poly.png)

aaa

```
aaa
```

***<commit_msg>Update drawing.md<commit_after># Drawing > Drawing

***

## Basic

### Draw Text

![draw-text-block](http://static.stencyl.com/pedia2/block-images/9%20-%20Drawing/0%20-%20Drawing/draw-text.png)

aaa

```
g.drawString("" + "anything", 0, 0);
```

***

### Draw Line

![draw-line-block](http://static.stencyl.com/pedia2/block-images/9%20-%20Drawing/0%20-%20Drawing/draw-line.png)

aaa

```
g.drawLine(0, 0, 0, 0);
```

***

### Fill Pixel

![fill-pixel-block](http://static.stencyl.com/pedia2/block-images/9%20-%20Drawing/0%20-%20Drawing/draw-pixel.png)

aaa

```
g.fillPixel(0, 0);
```

***

## Actor Drawing

### Draw Image for Actor

![draw-actor-block](http://static.stencyl.com/pedia2/block-images/9%20-%20Drawing/0%20-%20Drawing/draw-image-actor.png)

```
__.drawImage(g);
```

***

## Rectangles

### Draw Rectangle

![draw-rect-block](http://static.stencyl.com/pedia2/block-images/9%20-%20Drawing/0%20-%20Drawing/drawfill-rect.png)

aaa

```
g.drawRect(0, 0, 0, 0);
```

***

### Draw Rounded Rectangle

![draw-round-rect-block](http://static.stencyl.com/pedia2/block-images/9%20-%20Drawing/0%20-%20Drawing/drawfill-roundrect.png)

aaa

```
g.drawRoundRect(0, 0, 0, 0, 0);
```

***

## Circles

### Draw Circle

![draw-circle-block](http://static.stencyl.com/pedia2/block-images/9%20-%20Drawing/0%20-%20Drawing/drawfill-circle.png)

aaa

```
g.drawCircle(0, 0, 0);
```

***

## Polygons

### Draw Polygon

![draw-poly-block](http://static.stencyl.com/pedia2/block-images/9%20-%20Drawing/0%20-%20Drawing/drawfill-poly.png)

aaa

```
g.beginDrawPolygon();
[ACTIONS]
g.endDrawingPolygon();
```

***

### Add Point to Polygon

![add-poly-block](http://static.stencyl.com/pedia2/block-images/9%20-%20Drawing/0%20-%20Drawing/add-to-poly.png)

aaa

```
g.addPointToPolygon(0, 0);
```

***
{'fraction_non_alphanumeric': 0.2350824587706147, 'fraction_numerical': 0.06596701649175413, 'mean_word_length': 4.354735152487962, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5196748', 'n_tokens_mistral': 1548, 'n_tokens_neox': 1394, 'n_words': 135}