Handle Size, Color, Vertex and Rect as value types to allow the use in arrays