UICollisionBehavior.AddBoundary 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.
Overloads
AddBoundary(NSObject, UIBezierPath) |
Creates a boundary defined by an approximation of the |
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