clip_and_new_path method

clip_and_new_path

Adds clip to current graphics state and than writes “newpath” operator. It is necessary to do to escape of confluence of this clipping path and some subsequent pathes such as glyphs outlined with “charpath” operator.

def clip_and_new_path(self, s):
    ...
ParameterTypeDescription
saspose.pydrawing.drawing2d.GraphicsPathThe clipping path.

See Also