Struct FractionRect
- Namespace
- ScottPlot
- Assembly
- ScottPlot.dll
Describes a rectangular region of a larger rectangle using fractional units
public readonly struct FractionRect
- Inherited Members
- Extension Methods
Constructors
FractionRect(double, double, double, double)
public FractionRect(double left, double top, double width, double height)
Parameters
Properties
Bottom
public double Bottom { get; }
Property Value
Full
public static FractionRect Full { get; }
Property Value
Height
public double Height { get; }
Property Value
Left
public double Left { get; }
Property Value
Right
public double Right { get; }
Property Value
Top
public double Top { get; }
Property Value
Width
public double Width { get; }
Property Value
Methods
Column(int, int)
public static FractionRect Column(int columnIndex, int columnCount)
Parameters
Returns
GetPixelRect(PixelRect)
public PixelRect GetPixelRect(PixelRect fullRect)
Parameters
fullRect
PixelRect
Returns
GetPixelRect(float, float)
public PixelRect GetPixelRect(float width, float height)
Parameters
Returns
GridCell(int, int, int, int)
public static FractionRect GridCell(int columnIndex, int rowIndex, int columnCount, int rowCount)
Parameters
Returns
Row(int, int)
public static FractionRect Row(int rowIndex, int rowCount)