subValue method

Vector2 subValue(
  1. num value
)

Returns a new vector with value subtracted from each component.

Implementation

Vector2 subValue(num value) => .vec2(x - value, y - value);