Tiled object to convert to an internal parsed object normalising and copying properties over.
OptionaloffsetX: numberOptional additional offset to apply to the object's x property. Defaults to 0. Default 0.
OptionaloffsetY: numberOptional additional offset to apply to the object's y property. Defaults to 0. Default 0.
Convert a Tiled object to an internal parsed object normalising and copying properties over, while applying optional x and y offsets. The parsed object will always have the properties
id,name,type,rotation,properties,visible,x,y,widthandheight. Other properties will be added according to the object type (such as text, polyline, gid etc.)