Table of Contents

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

figureSize PixelSize
dataArea PixelRect

PixelPadding(float)

public PixelPadding(float padding)

Parameters

padding float

PixelPadding(float, float)

public PixelPadding(float x, float y)

Parameters

x float
y float

PixelPadding(float, float, float, float)

public PixelPadding(float left, float right, float bottom, float top)

Parameters

left float
right float
bottom float
top float

Fields

Bottom

public float Bottom

Field Value

float

Left

public float Left

Field Value

float

Right

public float Right

Field Value

float

Top

public float Top

Field Value

float

Properties

Horizontal

public float Horizontal { get; }

Property Value

float

Vertical

public float Vertical { get; }

Property Value

float

Zero

public static PixelPadding Zero { get; }

Property Value

PixelPadding

Methods

Contract(float)

public void Contract(float amount)

Parameters

amount float

Expand(float)

public void Expand(float amount)

Parameters

amount float