Vector: Measure

Nodes in this category perform measurements and analysis on vector graphics, such as length/area calculations, path traversal, and hit testing.

Nodes

NodeDetailsPossible Types
Area

Node description coming soon.

Vector → f64
Vector[] → f64[]
Centroid

Node description coming soon.

Vector → Vec2
Vector → Vec2[]
Vector[] → Vec2[]
Count Points

Node description coming soon.

Vector → f64
Vector[] → f64[]
Dimensions

Node description coming soon.

Vector → Vec2
Vector[] → Vec2[]
Index Points

Retrieves the vec2 position (in local space) of the anchor point at the specified index in a List of vector elements.

If no value exists at that index, the position (0, 0) is returned.

Vector[] → Vec2
Path Length

Node description coming soon.

Vector → f64
Vector[] → f64[]
Path is Closed

Determines if the subpath at the given index is closed, meaning its ends are connected together forming a loop.

Vector → bool
Vector[] → bool[]
Point Inside

Node description coming soon.

Vector → bool
Vector[] → bool[]
Position on Path

Determines the position of a point on the path, given by its progression from 0 to 1 along the path.

If multiple subpaths make up the path, the whole number part of the progression value selects the subpath and the decimal part determines the position along it.

Vector → Vec2
Vector[] → Vec2[]
Tangent on Path

Determines the angle of the tangent at a point on the path, given by its progression from 0 to 1 along the path.

If multiple subpaths make up the path, the whole number part of the progression value selects the subpath and the decimal part determines the position along it.

Vector → f64
Vector[] → f64[]