//: [Table of Contents](00-ToC)

//: [Previous](@previous)

import SwifterSwift

//: ## CoreGraphics Extensions

//: ### CGPoint extensions

let point1 = CGPoint(x: 10, y: 10)
let point2 = CGPoint(x: 30, y: 30)

// Get distance from another CGPoint.
point1.distance(from: point2)

let point = CGPoint(x: 10, y: 10)

// Multiply a CGPoint with a scalar
5 * point

//: [Next](@next)
