ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
ScottPlot.Layout Struct Reference
Inheritance diagram for ScottPlot.Layout:
IEquatable

Public Member Functions

 Layout (PixelRect figureRect, PixelRect dataRect, Dictionary< IPanel, float > sizes, Dictionary< IPanel, float > offsets)
 
bool Equals (Layout other)
 

Properties

readonly PixelRect FigureRect [get]
 Size of the figure this layout represents.
 
readonly PixelRect DataRect [get]
 Final size of the data area.
 
readonly Dictionary< IPanel, float > PanelOffsets [get]
 Distance (pixels) each panel is to be placed from the edge of the data rectangle.
 
readonly Dictionary< IPanel, float > PanelSizes [get]
 Size (pixels) of each panel in the dimension perpendicular to the data edge it is placed on.
 

Constructor & Destructor Documentation

◆ Layout()

ScottPlot.Layout.Layout ( PixelRect  figureRect,
PixelRect  dataRect,
Dictionary< IPanel, float >  sizes,
Dictionary< IPanel, float >  offsets 
)
inline

Member Function Documentation

◆ Equals()

bool ScottPlot.Layout.Equals ( Layout  other)
inline

Property Documentation

◆ DataRect

readonly PixelRect ScottPlot.Layout.DataRect
get

Final size of the data area.

◆ FigureRect

readonly PixelRect ScottPlot.Layout.FigureRect
get

Size of the figure this layout represents.

◆ PanelOffsets

readonly Dictionary<IPanel, float> ScottPlot.Layout.PanelOffsets
get

Distance (pixels) each panel is to be placed from the edge of the data rectangle.

◆ PanelSizes

readonly Dictionary<IPanel, float> ScottPlot.Layout.PanelSizes
get

Size (pixels) of each panel in the dimension perpendicular to the data edge it is placed on.


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