SwiftextensionConversationKit
extension CGPoint
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
structCGPoint
Members 7
- func
static pointOnLine(start: CGPoint, end: CGPoint, percentage: CoreGraphics.CGFloat) -> CGPoint - func
absoluteDistance(to: CGPoint) -> CoreGraphics.CGFloat - func
closestDistance(to: CGRect) -> (CoreGraphics.CGFloat, CGPoint) - func
rounded(_: FloatingPointRoundingRule, toScale: CoreGraphics.CGFloat) -> CGPoint - func
rounded(_: FloatingPointRoundingRule, toScaleOf: UITraitCollection) -> CGPoint - func
rounded(_: FloatingPointRoundingRule, toScaleOf: UITraitEnvironment) -> CGPoint - func
rounded(_: FloatingPointRoundingRule, toScaleOf: UIView) -> CGPoint
Header
extension __C.CGPoint { func closestDistance(to: __C.CGRect) -> (CoreGraphics.CGFloat, __C.CGPoint) func absoluteDistance(to: __C.CGPoint) -> CoreGraphics.CGFloat func rounded(_: Swift.FloatingPointRoundingRule, toScale: CoreGraphics.CGFloat) -> __C.CGPoint func rounded(_: Swift.FloatingPointRoundingRule, toScaleOf: __C.UITraitCollection) -> __C.CGPoint func rounded(_: Swift.FloatingPointRoundingRule, toScaleOf: any __C.UITraitEnvironment) -> __C.CGPoint func rounded(_: Swift.FloatingPointRoundingRule, toScaleOf: __C.UIView) -> __C.CGPoint static func pointOnLine(start: __C.CGPoint, end: __C.CGPoint, percentage: CoreGraphics.CGFloat) -> __C.CGPoint }