Vector graphics

Vector graphics is the use of polygons to represent images in computer graphics.

Vector graphics are based on vectors, which lead through locations called control points or nodes. Each of these points has a definite position on the x- and y-axes of the work plane and determines the direction of the path; further, each path may be assigned various attributes, including such values as stroke color, shape, curve, thickness, and fill

Vector graphics editors typically allow translation, rotation, movement (without rotation), mirroring, stretching, skewing, affine transformations, changing of z-order (loosely, what’s in front of what) and a combination of primitives into more complex objects.

More sophisticated transformations include set operations on closed shapes (union, difference, intersection, etc.).

Vector graphics are ideal for simple or composite drawings that need to be device-independent or do not need to achieve photo-realism. For example, the PostScript and PDF page description languages use a vector graphics model.