SwiftextensionConversationKit

extension CGPoint

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

extends{}

structCGPoint

Members 7

  1. funcstatic pointOnLine(start: CGPoint, end: CGPoint, percentage: CoreGraphics.CGFloat) -> CGPoint
  2. funcabsoluteDistance(to: CGPoint) -> CoreGraphics.CGFloat
  3. funcclosestDistance(to: CGRect) -> (CoreGraphics.CGFloat, CGPoint)
  4. funcrounded(_: FloatingPointRoundingRule, toScale: CoreGraphics.CGFloat) -> CGPoint
  5. funcrounded(_: FloatingPointRoundingRule, toScaleOf: UITraitCollection) -> CGPoint
  6. funcrounded(_: FloatingPointRoundingRule, toScaleOf: UITraitEnvironment) -> CGPoint
  7. funcrounded(_: FloatingPointRoundingRule, toScaleOf: UIView) -> CGPoint
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
}