Transform the provided layer using the transformation parameters provided in properties.
@param layer the image layer to transform
@param properties transformation parameters
@return the transformered layer; or if layer could not be transformed (invalid properties) the layer unmodified
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.