Ray Tso
Ray Tso

Reputation: 566

Purpose of negative CGSize values

Been reading the docs and found out that CGSize can take in negative values since it's more of a "vector" representation.

What's the purpose of this? Not saying that vectors can't be negatives, but what could the real world examples be that one would come across CGSize having negative width or height?

Note: Especially when there is already another data structure called CGVector

Upvotes: 1

Views: 371

Answers (0)

Related Questions