add ColorMaskMode and LineProperties