NSCollectionViewLayout.GetTargetContentOffset 方法

定义

重载

GetTargetContentOffset(CGPoint)
GetTargetContentOffset(CGPoint, CGPoint)

GetTargetContentOffset(CGPoint)

[Foundation.Export("targetContentOffsetForProposedContentOffset:")]
public virtual CoreGraphics.CGPoint GetTargetContentOffset (CoreGraphics.CGPoint proposedContentOffset);
abstract member GetTargetContentOffset : CoreGraphics.CGPoint -> CoreGraphics.CGPoint
override this.GetTargetContentOffset : CoreGraphics.CGPoint -> CoreGraphics.CGPoint

参数

proposedContentOffset
CGPoint

返回

属性

适用于

GetTargetContentOffset(CGPoint, CGPoint)

[Foundation.Export("targetContentOffsetForProposedContentOffset:withScrollingVelocity:")]
public virtual CoreGraphics.CGPoint GetTargetContentOffset (CoreGraphics.CGPoint proposedContentOffset, CoreGraphics.CGPoint velocity);
abstract member GetTargetContentOffset : CoreGraphics.CGPoint * CoreGraphics.CGPoint -> CoreGraphics.CGPoint
override this.GetTargetContentOffset : CoreGraphics.CGPoint * CoreGraphics.CGPoint -> CoreGraphics.CGPoint

参数

proposedContentOffset
CGPoint
velocity
CGPoint

返回

属性

适用于