-
public interface CanvasTransformationCanvas transformation
-
-
Method Summary
-
-
Method Detail
-
calculateTransformation
abstract Matrix calculateTransformation(Matrix outTransform, Rect parentBounds, Integer childWidth, Integer childHeight)
Calculate a transformation based on the given parent bounds and child dimensions. The given outTransform should be used and returned. If no transformation should be applied, null can be returned.
- Parameters:
outTransform- the Matrix to re-useparentBounds- the bounds to fillchildWidth- the width of the child to drawchildHeight- the height of the child to draw
-
-
-
-