SVG - Coordinate System

Card Puncher Data Processing

About

The SVG coordinates system is pixel-based :

  • 0,0 is the top-left corner of the drawing space
  • x values move to the right,
  • y values move down

See also: SVG - (Coordinates) Units (px, em, )

User

A user coordinate system can established with the viewBox attribute on the ‘svg’ element.

Documentation / Reference





Discover More
Card Puncher Data Processing
SVG - Path

in Svg. Path is the generic element to define a shape. polylines The shape of a path element is defined by one attribute: d that contains a suite of . All of the commands also come in two variants....
Preserveaspectratio
SVG - View Box

The Viewbox attribute specifies: a boundary box in which only the inside elements are visible. and how to resize / fit its content when the viewport is changing. SVG viewport The viewBox specify...
Card Puncher Data Processing
SVG - ViewPort

viewport in SVG. The following elements establish new viewports: The svg element with the dimension defined the viewBox attribute A ‘symbol’ element define new viewports whenever they are instanced...



Share this page:
Follow us:
Task Runner