Share via


CIImage.CreateBySettingAlphaOne(CGRect) Method

Definition

Creates a new image by copying this, setting the alpha of pixels within extent to 1.0 and setting those outside to 0.0.

[Foundation.Export("imageBySettingAlphaOneInExtent:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreImage.CIImage CreateBySettingAlphaOne(CoreGraphics.CGRect extent);
[<Foundation.Export("imageBySettingAlphaOneInExtent:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CreateBySettingAlphaOne : CoreGraphics.CGRect -> CoreImage.CIImage
override this.CreateBySettingAlphaOne : CoreGraphics.CGRect -> CoreImage.CIImage

Parameters

extent
CGRect

The area within the image to have alpha 1.0.

Returns

Attributes

Applies to