ScottPlot
|
Public Member Functions | |
PixelRect (Pixel center, float radius) | |
Create a rectangle from the bounding box of a circle centered at center with radius radius | |
PixelRect (Pixel corner1, Pixel corner2) | |
Create a rectangle with edges at the given pixel positions. This constructor will rectify the points so rectangles will always have positive area. | |
PixelRect (Pixel topLeftCorner, PixelSize size) | |
Create a rectangle representing pixels on a screen. | |
PixelRect (PixelOffset offset, PixelSize size) | |
Create a rectangle representing pixels on a screen. | |
PixelRect (Pixel topLeftCorner, float width, float height) | |
Create a rectangle representing pixels on a screen. | |
PixelRect (PixelSize size) | |
Create a rectangle representing pixels on a screen. | |
PixelRect (float width, float height) | |
Create a rectangle representing pixels on a screen. | |
PixelRect (PixelSize size, Pixel offset) | |
Create a rectangle representing pixels on a screen. | |
PixelRect (PixelSize size, PixelOffset offset) | |
Create a rectangle representing pixels on a screen. | |
PixelRect (float left, float right, float bottom, float top) | |
Create a rectangle from the given edges. This constructor permits inverted rectangles with negative area. | |
PixelRect (PixelRangeX xRange, PixelRangeY yRange) | |
Create a pixel rectangle from two pixel ranges. | |
PixelRect (IEnumerable< Pixel > pixels) | |
PixelRect | WithPan (float x, float y) |
override string | ToString () |
SkiaSharp.SKRect | ToSKRect () |
PixelRect | Contract (float delta) |
PixelRect | Contract (float x, float y) |
PixelRect | Contract (PixelPadding padding) |
PixelRect | Expand (PixelRect other) |
PixelRect | Intersect (PixelRect other) |
Returns the intersection with another rectangle. | |
PixelRect | Expand (PixelPadding pad) |
PixelRect | Expand (float delta) |
PixelRect | ExpandX (float x) |
PixelRect | ExpandY (float y) |
PixelRect | WithDelta (float x, float y) |
PixelRect | WithDelta (float x, float y, Alignment alignment) |
bool | Equals (PixelRect other) |
override bool | Equals (object? obj) |
override int | GetHashCode () |
bool | Contains (Pixel px) |
bool | Contains (float x, float y) |
bool | ContainsX (float x) |
bool | ContainsY (float y) |
Pixel | GetAlignedPixel (Alignment alignment) |
PixelRect | WithOffset (PixelOffset offset) |
PixelRect | AlignedInside (PixelRect largerRect, Alignment alignment) |
Return the position of this rectangle aligned inside a larger one. | |
PixelRect | AlignedInside (PixelRect largerRect, Alignment alignment, PixelPadding padding) |
Return the position of this rectangle aligned inside a larger one. | |
PixelRect | Fraction (FractionRect frac) |
Static Public Member Functions | |
static bool | operator== (PixelRect a, PixelRect b) |
static bool | operator!= (PixelRect a, PixelRect b) |
Public Attributes | |
readonly float | Left |
readonly float | Right |
readonly float | Bottom |
readonly float | Top |
Properties | |
float | HorizontalCenter [get] |
float | VerticalCenter [get] |
float | Width [get] |
float | Height [get] |
bool | HasArea [get] |
Pixel | TopLeft [get] |
Pixel | TopRight [get] |
Pixel | BottomLeft [get] |
Pixel | BottomRight [get] |
Pixel | LeftCenter [get] |
Pixel | RightCenter [get] |
Pixel | BottomCenter [get] |
Pixel | TopCenter [get] |
Pixel | Center [get] |
PixelSize | Size [get] |
PixelLine | BottomLine [get] |
PixelLine | TopLine [get] |
PixelLine | LeftLine [get] |
PixelLine | RightLine [get] |
static PixelRect | Zero [get] |
static PixelRect | NaN [get] |
|
inline |
Create a rectangle from the bounding box of a circle centered at center with radius radius
Create a rectangle with edges at the given pixel positions. This constructor will rectify the points so rectangles will always have positive area.
Create a rectangle representing pixels on a screen.
|
inline |
Create a rectangle representing pixels on a screen.
|
inline |
Create a rectangle representing pixels on a screen.
|
inline |
Create a rectangle representing pixels on a screen.
|
inline |
Create a rectangle representing pixels on a screen.
Create a rectangle representing pixels on a screen.
|
inline |
Create a rectangle representing pixels on a screen.
|
inline |
Create a rectangle from the given edges. This constructor permits inverted rectangles with negative area.
|
inline |
Create a pixel rectangle from two pixel ranges.
|
inline |
Return the position of this rectangle aligned inside a larger one.
|
inline |
Return the position of this rectangle aligned inside a larger one.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Returns the intersection with another rectangle.
other | Other rectangle |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
readonly float ScottPlot.PixelRect.Bottom |
readonly float ScottPlot.PixelRect.Left |
readonly float ScottPlot.PixelRect.Right |
readonly float ScottPlot.PixelRect.Top |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
staticget |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
staticget |