(alpha: number)
| 142 | * 100000 = fully opaque, 0 = fully transparent. |
| 143 | */ |
| 144 | export function applyAlpha(alpha: number): number { |
| 145 | return Math.max(0, Math.min(1, alpha / 100000)) |
| 146 | } |
| 147 | |
| 148 | // --------------------------------------------------------------------------- |
| 149 | // Composite Modifier Application |
no outgoing calls
no test coverage detected