Share via


CAScrollLayer.ScrollToRect(CGRect) Method

Definition

Scrolls the scroll layer to include the specified rectangle.

[Foundation.Export("scrollToRect:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void ScrollToRect(CoreGraphics.CGRect r);
[<Foundation.Export("scrollToRect:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ScrollToRect : CoreGraphics.CGRect -> unit
override this.ScrollToRect : CoreGraphics.CGRect -> unit

Parameters

r
CGRect
Attributes

Applies to