# Photopea - Vector Graphics

Learn Photopea Blog | Learn | Tutorials | API | Facebook | Twitter

# Vector Graphics

Photopea has a rich set of tools to work with vector graphics. There are two ways of storing vector graphics in a PSD document:

- Vector masks - any layer can have a vector mask. Just as a raster mask, vector mask defines, which part of the layer should be visible and which should be hidden. Raster and vector masks can be enabled, disabled or edited at any time without changed the actual content of the layer.
- Shape Layer - a layer containing only the vector shape with a Color fill, a Gradient fill or a Pattern fill. In fact, it is just a Fill Layer with a vector mask.

Below is a standard layer with a vector mask and a shape layer is beneath it.

## Comments