Translate this CTM by the passed x and y values and return a new result CTM. @param x The amount to translate along the x axis. @param y The amount to translate along the y axis. @return CTM The result of translating this CTM.
(double x, double y)
| 206 | * @return CTM The result of translating this CTM. |
| 207 | */ |
| 208 | public CTM translate(double x, double y) { |
| 209 | CTM translate = new CTM(1, 0, 0, 1, x, y); |
| 210 | return multiply(translate); |
| 211 | } |
| 212 | |
| 213 | /** |
| 214 | * Scale this CTM by the passed x and y values and return a new result CTM. |