共用方式為


Color.WithAlpha(Single) 方法

定義

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

參數

alpha
Single

傳回

適用於