What you shown us is drawing a block. It has nothing to do with how the information about the block (position, shape, color, etc.) is store.