Skip to main content
Rust4PM

Vec<Point>

Internal: Array_of_Point

Used as Input

1

function accept this type

Used as Output

0

functions return this type

Type Definition

3 nested items
[items]:Point— A point in output (drawing) space, in px.
x*:f64— Horizontal coordinate, growing to the right.
y*:f64— Vertical coordinate, growing downwards (SVG convention).

Example JSON Value

json
[
  {
    "x": 0.2,
    "y": 0.2
  }
]

Functions Accepting This Type(1)