> For the complete documentation index, see [llms.txt](https://paperjs.typogram.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://paperjs.typogram.co/paper.js-api-reference.md).

# Paper.js API Reference

[Paper.js](http://paperjs.org/reference/global/)

Index — version 0.12.11

{% content-ref url="/pages/estyqR68lWiZNCsJMddn" %}
[Global Scope](/global-scope.md)
{% endcontent-ref %}

### Basic Types

{% content-ref url="/pages/iltSRnVZu7V7qj83MsWq" %}
[Point](/basic-types/point.md)
{% endcontent-ref %}

{% content-ref url="/pages/zbFUS6ZUAVgcJ88KvHbE" %}
[Size](/basic-types/size.md)
{% endcontent-ref %}

{% content-ref url="/pages/gQCwTFn4uqwjy5jqwsp3" %}
[Line](/basic-types/line.md)
{% endcontent-ref %}

{% content-ref url="/pages/JkssgpiM6gW80X6k3doI" %}
[Rectangle](/basic-types/rectangle.md)
{% endcontent-ref %}

{% content-ref url="/pages/jjwTUsss6cMXYQsvBjER" %}
[Matrix](/basic-types/matrix.md)
{% endcontent-ref %}

### Project & Items

{% content-ref url="/pages/pWQyRoZZzFxmaQFptqH7" %}
[Project](/project-and-items/project.md)
{% endcontent-ref %}

{% content-ref url="/pages/Rtp5OG2BlrHqggZrEV9O" %}
[Item](/project-and-items/item.md)
{% endcontent-ref %}

{% content-ref url="/pages/tGtsmOOi1UN7zukAMgyj" %}
[Layer](/project-and-items/layer.md)
{% endcontent-ref %}

{% content-ref url="/pages/ob05KDxfPWQWunk9NEFB" %}
[Group](/project-and-items/group.md)
{% endcontent-ref %}

{% content-ref url="/pages/oZPiuwu4HaoKLSAFmTI9" %}
[Shape](/project-and-items/shape.md)
{% endcontent-ref %}

{% content-ref url="/pages/OHQiBkhKbQSm9IakQLc8" %}
[Raster](/project-and-items/raster.md)
{% endcontent-ref %}

***

{% content-ref url="/pages/hmYqEegHidW8dEiDVbwV" %}
[HitResult](/project-and-items/hitresult.md)
{% endcontent-ref %}

### Paths

{% content-ref url="/pages/NgVHhcxoIoGWtehKZGeQ" %}
[PathItem](/paths/pathitem.md)
{% endcontent-ref %}

{% content-ref url="/pages/if9uMldlavs6q4G412Dg" %}
[Path](/paths/path.md)
{% endcontent-ref %}

{% content-ref url="/pages/NNPFWTDwHTcmK6jubIqb" %}
[CompoundPath](/paths/compoundpath.md)
{% endcontent-ref %}

{% content-ref url="/pages/F2iou7y04nq0M4BFTwJE" %}
[Segment](/paths/segment.md)
{% endcontent-ref %}

{% content-ref url="/pages/4RU9iCNVkNCwMuV2ghIM" %}
[Curve](/paths/curve.md)
{% endcontent-ref %}

***

{% content-ref url="/pages/nm9AzROhxR6Gt8llqBQ8" %}
[CurveLocation](/paths/curvelocation.md)
{% endcontent-ref %}

### Symbols

{% content-ref url="/pages/8HnUyzj44K500xteWqam" %}
[SymbolDefinition](/symbols/symboldefinition.md)
{% endcontent-ref %}

{% content-ref url="/pages/eNxwk6YgoSHfdslfvmmi" %}
[SymbolItem](/symbols/symbolitem.md)
{% endcontent-ref %}

### Styling

{% content-ref url="/pages/FCNPbfMQPT5x9rnXkc55" %}
[Style](/styling/style.md)
{% endcontent-ref %}

{% content-ref url="/pages/eeJLVuE7kbiCwCC2RBqS" %}
[Color](/styling/color.md)
{% endcontent-ref %}

{% content-ref url="/pages/5NgTbKrU85qTiKLcqqZI" %}
[Gradient](/styling/gradient.md)
{% endcontent-ref %}

{% content-ref url="/pages/jJTyrr2Kc4BSAEMtD4Bb" %}
[GradientStop](/styling/gradientstop.md)
{% endcontent-ref %}

### Animation

{% content-ref url="/pages/fiNzjRNjjXOYbUBDUaJ9" %}
[Tween](/animation/tween.md)
{% endcontent-ref %}

### Typography

{% content-ref url="/pages/PTsFJhvB7eOjcuVUJGCo" %}
[TextItem](/typography/textitem.md)
{% endcontent-ref %}

{% content-ref url="/pages/G2EYM8ZVTyR5cRx4gJyI" %}
[PointText](/typography/pointtext.md)
{% endcontent-ref %}

### User Interaction & Events

{% content-ref url="/pages/x0p0pLH9qgKLZ4S1Oo1x" %}
[View](/user-interaction-and-events/view.md)
{% endcontent-ref %}

{% content-ref url="/pages/GYOyFOQJmvP3WXBL6Yj8" %}
[Event](/user-interaction-and-events/event.md)
{% endcontent-ref %}

{% content-ref url="/pages/f5tEFntMr7myvIqAAbmy" %}
[MouseEvent](/user-interaction-and-events/mouseevent.md)
{% endcontent-ref %}

{% content-ref url="/pages/B2gpTjlYDHZMcrmKBiVz" %}
[Tool](/user-interaction-and-events/tool.md)
{% endcontent-ref %}

{% content-ref url="/pages/cSb5qyMMOYVrNQcLvCCK" %}
[ToolEvent](/user-interaction-and-events/toolevent.md)
{% endcontent-ref %}

{% content-ref url="/pages/GROryUGVf9nJBEhr8zPs" %}
[Key](/user-interaction-and-events/key.md)
{% endcontent-ref %}

{% content-ref url="/pages/D2Unq8wpUcJBYKHiT2pM" %}
[KeyEvent](/user-interaction-and-events/keyevent.md)
{% endcontent-ref %}

### JavaScript

{% content-ref url="/pages/IPBphVGC9NX6vGbcAWGl" %}
[PaperScope](/javascript/paperscope.md)
{% endcontent-ref %}

{% content-ref url="/pages/w3K9NEeoQDVTAdAyNGdp" %}
[PaperScript](/javascript/paperscript.md)
{% endcontent-ref %}
