how to create rectangle

how to create rectangle
0.0 0


how to create rectangle??

using CCRect or using CCSprite with empty sprite and use setTextureRect…??

i want to create a rectangle where i can change this alpha…
and not using image…


Override the draw method and use OpenGL commands to draw your rectangle.