+{LayerStyle} = require "./LayerStyle"
 {Layer, layerProperty} = require "./Layer"
 {Color} = require "./Color"
 

		when "originX" then sizeProp = "width"
		when "originY" then sizeProp = "height"
	return value unless sizeProp?
	return (layer[sizeProp] / layer.parent[sizeProp]) * value

class exports.SVGBaseLayer extends Layer
	# Overridden Layer properties

			for index in indicesToRemove.reverse()
				@_element.transform.baseVal.removeItem(index)

		@calculateSize()

		super(options)

