共用方式為


CIImage.CreateByPremultiplyingAlpha 方法

定義

建立新的影像,其 RGB 值會藉由將此影像的 RGB 值乘以此影像的 Alpha 值來建立。

[Foundation.Export("imageByPremultiplyingAlpha")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual CoreImage.CIImage CreateByPremultiplyingAlpha ();
abstract member CreateByPremultiplyingAlpha : unit -> CoreImage.CIImage
override this.CreateByPremultiplyingAlpha : unit -> CoreImage.CIImage

傳回

屬性

適用於