Lots of methods not exists in API reference

hi

im using visual studio and i see lots of (sprite / node) method if i serch for it in the online api reference dosent exists like

setOpacity and setColor

am i doing something wrong ??

setOpacity isn’t there for sure… I even searched for it through google.

Maybe they were too obvious?
They shouldn’t be avoided, because user should be informed that opacity has to be between 0 and 255 (in some frameworks it’s 0…1).

Yeah, weird, setOpacity is not there but setContentSize is, as well as others that I checked.

Edit: setColor works for me.