Struct RootedPixelVector
- Namespace
- ScottPlot
- Assembly
- ScottPlot.dll
Represents a vector at a point in pixel space
public struct RootedPixelVector
- Inherited Members
- Extension Methods
Constructors
RootedPixelVector(Pixel, Vector2)
Represents a vector at a point in pixel space
public RootedPixelVector(Pixel point, Vector2 vector)
Parameters
Properties
Angle
Angle of the vector in radians
public readonly float Angle { get; }
Property Value
Magnitude
Length of the vector in pixel units
public readonly float Magnitude { get; }
Property Value
MagnitudeSquared
Length of the vector squared in pixel units
public readonly float MagnitudeSquared { get; }
Property Value
Point
public Pixel Point { readonly get; set; }
Property Value
Vector
public Vector2 Vector { readonly get; set; }