magnitudeSquared
TypeScriptget magnitudeSquared(): numberSwift declarationvar magnitudeSquared: Double { get }Returns the dot-product of this vector arithmetic instance with itself.
struct · iOS 26.0+ · SDK 27.1
struct AnimatableDataThe type defining the data to animate.
get magnitudeSquared(): numberSwift declarationvar magnitudeSquared: Double { get }Returns the dot-product of this vector arithmetic instance with itself.
static get zero(): RoundedRectangularShapeCorners_AnimatableDataSwift declarationstatic var zero: RoundedRectangularShapeCorners.AnimatableData { get }The zero value. Zero is the identity element for addition. For any value, `x + .zero == x` and `.zero + x == x`.
scale(rhs: number): voidSwift declarationmutating func scale(by rhs: Double)Multiplies each component of this value by the given value.
No declarations were skipped in this snapshot.