Implement getters for ShapeComponent

Also added const for them