transform

inline fun RectF.transform(m: Matrix): RectF(source)

Transform this rectangle in place using the supplied Matrix and returns this rectangle.


inline fun Shader.transform(block: Matrix.() -> Unit)(source)

Wrap the specified block in calls to Shader.getLocalMatrix and Shader.setLocalMatrix.