CIImage.CreateBySettingAlphaOne(CGRect) 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.
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.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 CreateBySettingAlphaOne (CoreGraphics.CGRect extent);
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