value(at:)
Returns a value from a specific position in the vector.
Declaration
func value(at index: Int) -> CGFloatParameters
- index:
The position in the vector of the value that you want to retrieve.
Return Value
The value retrieved from the vector or 0 if the position is undefined.
Discussion
The numbering of elements in a vector begins with zero.