Szerkesztés

Megosztás a következőn keresztül:


UICollisionBehavior.AddBoundary Method

Definition

Overloads

AddBoundary(NSObject, UIBezierPath)

Creates a boundary defined by an approximation of the bezierPath.

AddBoundary(NSObject, CGPoint, CGPoint)

Creates a boundary defined by the provided end points.

AddBoundary(NSObject, UIBezierPath)

Creates a boundary defined by an approximation of the bezierPath.

[Foundation.Export("addBoundaryWithIdentifier:forPath:")]
public virtual void AddBoundary (Foundation.NSObject boundaryIdentifier, UIKit.UIBezierPath bezierPath);
abstract member AddBoundary : Foundation.NSObject * UIKit.UIBezierPath -> unit
override this.AddBoundary : Foundation.NSObject * UIKit.UIBezierPath -> unit

Parameters

boundaryIdentifier
NSObject
bezierPath
UIBezierPath
Attributes

Remarks

The underlying UI Dynamics engine approximates the bezierPath with a set of lines.

Applies to

AddBoundary(NSObject, CGPoint, CGPoint)

Creates a boundary defined by the provided end points.

[Foundation.Export("addBoundaryWithIdentifier:fromPoint:toPoint:")]
public virtual void AddBoundary (Foundation.NSObject boundaryIdentifier, CoreGraphics.CGPoint fromPoint, CoreGraphics.CGPoint toPoint);
abstract member AddBoundary : Foundation.NSObject * CoreGraphics.CGPoint * CoreGraphics.CGPoint -> unit
override this.AddBoundary : Foundation.NSObject * CoreGraphics.CGPoint * CoreGraphics.CGPoint -> unit

Parameters

boundaryIdentifier
NSObject
fromPoint
CGPoint
toPoint
CGPoint
Attributes

Applies to