makeClone

Makes a shallow copy of Paint. PathEffect, Shader, MaskFilter, ColorFilter, and ImageFilter are shared between the original paint and the copy.

The referenced objects PathEffect, Shader, MaskFilter, ColorFilter, and ImageFilter cannot be modified after they are created.

Return

shallow copy of paint

See also