获取所有混合模式 Get all blend modes.
()
| 55 | /// |
| 56 | /// Get all blend modes. |
| 57 | pub const fn all() -> &'static [BlendMode] { |
| 58 | &[ |
| 59 | BlendMode::None, |
| 60 | BlendMode::Alpha, |
| 61 | BlendMode::Additive, |
| 62 | BlendMode::Multiply, |
| 63 | BlendMode::Screen, |
| 64 | BlendMode::PremultipliedAlpha, |
| 65 | ] |
| 66 | } |
| 67 | |
| 68 | /// 获取混合模式名称 |
| 69 | /// |
no outgoing calls
no test coverage detected