ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Properties | List of all members
ScottPlot.FractionRect Struct Reference

Describes a rectangular region of a larger rectangle using fractional units. More...

Public Member Functions

 FractionRect (double left, double top, double width, double height)
 
PixelRect GetPixelRect (PixelRect fullRect)
 
PixelRect GetPixelRect (float width, float height)
 

Static Public Member Functions

static FractionRect Column (int columnIndex, int columnCount)
 
static FractionRect Row (int rowIndex, int rowCount)
 
static FractionRect GridCell (int columnIndex, int rowIndex, int columnCount, int rowCount)
 

Properties

double Left [get]
 
double Top [get]
 
double Width [get]
 
double Height [get]
 
double Right [get]
 
double Bottom [get]
 
static FractionRect Full [get]
 

Detailed Description

Describes a rectangular region of a larger rectangle using fractional units.

Constructor & Destructor Documentation

◆ FractionRect()

ScottPlot.FractionRect.FractionRect ( double  left,
double  top,
double  width,
double  height 
)
inline

Member Function Documentation

◆ Column()

static FractionRect ScottPlot.FractionRect.Column ( int  columnIndex,
int  columnCount 
)
inlinestatic

◆ GetPixelRect() [1/2]

PixelRect ScottPlot.FractionRect.GetPixelRect ( float  width,
float  height 
)
inline

◆ GetPixelRect() [2/2]

PixelRect ScottPlot.FractionRect.GetPixelRect ( PixelRect  fullRect)
inline

◆ GridCell()

static FractionRect ScottPlot.FractionRect.GridCell ( int  columnIndex,
int  rowIndex,
int  columnCount,
int  rowCount 
)
inlinestatic

◆ Row()

static FractionRect ScottPlot.FractionRect.Row ( int  rowIndex,
int  rowCount 
)
inlinestatic

Property Documentation

◆ Bottom

double ScottPlot.FractionRect.Bottom
get

◆ Full

FractionRect ScottPlot.FractionRect.Full
staticget

◆ Height

double ScottPlot.FractionRect.Height
get

◆ Left

double ScottPlot.FractionRect.Left
get

◆ Right

double ScottPlot.FractionRect.Right
get

◆ Top

double ScottPlot.FractionRect.Top
get

◆ Width

double ScottPlot.FractionRect.Width
get

The documentation for this struct was generated from the following file: