Struct PixelPadding
- Namespace
- ScottPlot
- Assembly
- ScottPlot.dll
Represents the size (in pixels) of padding on all edges of a rectangle
public struct PixelPadding
- Inherited Members
- Extension Methods
Constructors
PixelPadding(PixelSize, PixelRect)
public PixelPadding(PixelSize figureSize, PixelRect dataArea)
Parameters
PixelPadding(float)
public PixelPadding(float padding)
Parameters
padding
float
PixelPadding(float, float)
public PixelPadding(float x, float y)
Parameters
PixelPadding(float, float, float, float)
public PixelPadding(float left, float right, float bottom, float top)
Parameters
Fields
Bottom
public float Bottom
Field Value
Left
public float Left
Field Value
Right
public float Right
Field Value
Top
public float Top
Field Value
Properties
Horizontal
public float Horizontal { get; }
Property Value
Vertical
public float Vertical { get; }
Property Value
Zero
public static PixelPadding Zero { get; }
Property Value
Methods
Contract(float)
public void Contract(float amount)
Parameters
amount
float
Expand(float)
public void Expand(float amount)
Parameters
amount
float