ScottPlot
|
Describes a straight line in pixel space. More...
Public Member Functions | |
PixelLine (float x1, float y1, float x2, float y2) | |
PixelLine (Pixel px1, Pixel px2) | |
override string | ToString () |
PixelLine | BackedUpBy (float distance) |
PixelLine | WithDelta (float dx, float dy) |
float | X (float y=0) |
Return the X position on the line at the given Y. | |
float | Y (float x=0) |
Return the Y position on the line at the given X. | |
Public Attributes | |
readonly float | X1 |
readonly float | X2 |
readonly float | Y1 |
readonly float | Y2 |
Properties | |
float | XSpan [get] |
float | YSpan [get] |
float | Slope [get] |
float | SlopeRadians [get] |
float | SlopeDegrees [get] |
float | AngleRadians [get] |
float | AngleDegrees [get] |
float | YIntercept [get] |
float | Length [get] |
float | DeltaX [get] |
float | DeltaY [get] |
Pixel | Pixel1 [get] |
Pixel | Pixel2 [get] |
Pixel | Center [get] |
Describes a straight line in pixel space.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Return the X position on the line at the given Y.
|
inline |
Return the Y position on the line at the given X.
readonly float ScottPlot.PixelLine.X1 |
readonly float ScottPlot.PixelLine.X2 |
readonly float ScottPlot.PixelLine.Y1 |
readonly float ScottPlot.PixelLine.Y2 |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |