由于HarmonyOS提供的linearGradient接口和安卓的接口android.graphics.LinearGradient不一致,不支持设置坐标,无法满足useViewFrame属性,因此无法实现。