CGSize

public extension CGSize
extension CGSize: SpringInterpolatable, VelocityProviding
  • Returns a size whose height and width are rounded to the nearest pixel boundary, taking into account the device’s display scale.

    Declaration

    Swift

    var scaledIntegral: CGSize { get }
  • Declaration

    Swift

    public typealias ValueType = CGSize
  • Declaration

    Swift

    public typealias VelocityType = CGSize
  • Declaration

    Swift

    public static func updateValue(spring: Spring, value: CGSize, target: CGSize, velocity: CGSize, dt: TimeInterval) -> (value: CGSize, velocity: CGSize)