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

Represents the size (in pixels) of padding on all edges of a rectangle. More...

Public Member Functions

 PixelPadding (float padding)
 
 PixelPadding (float x, float y)
 
 PixelPadding (float left, float right, float bottom, float top)
 
 PixelPadding (PixelSize figureSize, PixelRect dataArea)
 
void Expand (float amount)
 
void Contract (float amount)
 

Public Attributes

float Left
 
float Right
 
float Bottom
 
float Top
 

Properties

float Horizontal [get]
 
float Vertical [get]
 
static PixelPadding Zero [get]
 

Detailed Description

Represents the size (in pixels) of padding on all edges of a rectangle.

Constructor & Destructor Documentation

◆ PixelPadding() [1/4]

ScottPlot.PixelPadding.PixelPadding ( float  padding)
inline

◆ PixelPadding() [2/4]

ScottPlot.PixelPadding.PixelPadding ( float  x,
float  y 
)
inline

◆ PixelPadding() [3/4]

ScottPlot.PixelPadding.PixelPadding ( float  left,
float  right,
float  bottom,
float  top 
)
inline

◆ PixelPadding() [4/4]

ScottPlot.PixelPadding.PixelPadding ( PixelSize  figureSize,
PixelRect  dataArea 
)
inline

Member Function Documentation

◆ Contract()

void ScottPlot.PixelPadding.Contract ( float  amount)

◆ Expand()

void ScottPlot.PixelPadding.Expand ( float  amount)
inline

Member Data Documentation

◆ Bottom

float ScottPlot.PixelPadding.Bottom

◆ Left

float ScottPlot.PixelPadding.Left

◆ Right

float ScottPlot.PixelPadding.Right

◆ Top

float ScottPlot.PixelPadding.Top

Property Documentation

◆ Horizontal

float ScottPlot.PixelPadding.Horizontal
get

◆ Vertical

float ScottPlot.PixelPadding.Vertical
get

◆ Zero

PixelPadding ScottPlot.PixelPadding.Zero
staticget

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