     public mutating func center(x: CGFloat, y: CGFloat) {
         self = self.centered(atX: x, y: y)
     }
-    
-    
+}
+
+// MARK: -
+// MARK: Align
+public extension CGRect {
     /// Return a copy of `self` aligned relative to the given rect following x and y axis contraints.
     ///
     /// - Parameters:

    public mutating func slide(relativeTo center: CGPoint, by angle: CGFloat) {
        self = self.slided(relativeTo: center, by: angle)
    }
    
    /// Offsets `self` by the given amount in the `maxX` direction.
    ///

    public mutating func reset() {
        self.origin = CGPoint(x: 0, y: 0)
    }
}

// MARK: -
// MARK: Transform
public extension CGRect {
    /// Returns a copy of `self` translated by the given vector.
    @inlinable
    public func translated(by vector: CGVector) -> CGRect {
