Condividi tramite


CIImage.CreateByClamping(CGRect) Metodo

Definizione

Crea un nuovo CIImage extent infinito ritagliando l'oggetto CIImagerect e quindi estendendo i pixel ai bordi all'infinito.

[Foundation.Export("imageByClampingToRect:")]
[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 CreateByClamping (CoreGraphics.CGRect rect);
abstract member CreateByClamping : CoreGraphics.CGRect -> CoreImage.CIImage
override this.CreateByClamping : CoreGraphics.CGRect -> CoreImage.CIImage

Parametri

rect
CGRect

Rettangolo di ritaglio.

Restituisce

Oggetto CIImage di un'estensione infinita.

Attributi

Si applica a