Color.MultiplyAlpha(Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a new color with the alpha channel multiplied by alpha, clamped to the inclusive range [0-1].
public Xamarin.Forms.Color MultiplyAlpha (double alpha);
member this.MultiplyAlpha : double -> Xamarin.Forms.Color
Parameters
- alpha
- System.Double
The alpha multiplicator.
Returns
A new RGBA color with a possibly new value for its alpha channel. See Remarks.
Remarks
The resulting color has its alpha channel clamped to the inclusive range [0-1], preventing invalid colors.