StructVector
Struct
2D displacement with X and Y components used for geometry, layout, and transformations.
Definition
Namespace:Telerik.Documents.Primitives
Assembly:Telerik.Windows.Documents.Core.dll
Syntax:
cs-api-definition
public struct Vector
Inherited Members
Constructors
Vector(double, double)
Initialize a vector with the specified X and Y components.
Properties
Length
Gets the Euclidean length (magnitude) of this vector.
LengthSquared
Gets the squared length of this vector (avoids a square root for faster comparisons).
X
Gets or sets the X component of the vector.
Operators
operator *(Vector, double)
Scale a vector by a scalar value.
operator /(Vector, double)
Scale a vector by the reciprocal of a scalar value.