Blend Mode
interface BlendMode : ComposableProperties<ERROR CLASS: Symbol not found for androidx.compose.ui.graphics.BlendMode>
表示在画布上绘制时使用的混合算法。
当在画布上绘制形状或图像时,可以使用不同的 BlendMode 来指定像素如何混合。 每种算法通常涉及两个输入:
源 (Source):正在绘制的颜色或图像。
目标 (Destination):画布上已经存在的背景颜色或图像。
要获取具体的混合模式实例(例如 BlendModes.getSrcOver、BlendModes.getClear 等), 请使用 BlendModes 接口。
Author
M8Test, [email protected], https://m8test.com