Layout.copy
pango.layout.Layout copy()Creates a deep copy-by-value of the layout.
The attribute list, tab array, and text from the original layout are all copied by value.
Returns
the newly allocated [pango.layout.Layout]
pango.layout.Layout copy()Creates a deep copy-by-value of the layout.
The attribute list, tab array, and text from the original layout are all copied by value.