Contents

alphaMultiply(_:)

Returns a filter that multiplies the alpha component by a given color.

Declaration

static func alphaMultiply(_ color: Color) -> GraphicsContext.Filter

Parameters

  • color:

    The color that the filter uses for the multiplication operation.

Return Value

A filter that multiplies the alpha component.