Converts a gsk.transform.Transform to a translation operation.
self must be a 2D transformation. If you are not sure, use
gsk.transform.Transform.getCategory >= gsk.types.TransformCategory._2dTranslate
to check.
return location for the translation in the x direction
return location for the translation in the y direction
Converts a gsk.transform.Transform to a translation operation.
self must be a 2D transformation. If you are not sure, use
gsk.transform.Transform.getCategory >= gsk.types.TransformCategory._2dTranslate
to check.