---
layout: api
title: "v2.2.1 JavaScript Library: L.Transformation"
categories: api
version: v2.2.1
permalink: /api/v2.2.1/l-transformation/
---
<h2 id="transformation">Transformation</h2>

<p>Represents an affine transformation: a set of coefficients <code>a</code>, <code>b</code>, <code>c</code>, <code>d</code> for transforming a point of a form <code>(x, y)</code> into <code>(a*x + b, c*y + d)</code> and doing the reverse. Used by Leaflet in its projections code.</p>

<pre><code>var transformation =