共用方式為


Color.WithAlpha(Single) Method

Definition

public:
 Microsoft::Maui::Graphics::Color ^ WithAlpha(float alpha);
public Microsoft.Maui.Graphics.Color WithAlpha (float alpha);
member this.WithAlpha : single -> Microsoft.Maui.Graphics.Color
Public Function WithAlpha (alpha As Single) As Color

Parameters

alpha
Single

Returns

Applies to