get_ctm method

get_ctm

Returns the transformation matrix from current user units (i.e., after application of the ‘transform’ attribute, if any) to the viewport coordinate system for the nearestViewportElement.

Returns

An SVGMatrix object that defines the CTM.

def get_ctm(self):
    ...

See Also