Table of Contents

Constructor Thickness

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Thickness(float)

Initializes a new instance of the Thickness struct with the same value on every side.

public Thickness(float uniform)

Parameters

uniform float

The specified uniform length.

Thickness(float, float, float, float)

Initializes a new instance of the Thickness struct with the specified values for the each side.

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

Parameters

left float

The thickness for the left side.

top float

The thickness for the top side.

right float

The thickness for the right side.

bottom float

The thickness for the bottom side.

Thickness(float, float)

Initializes a new instance of the Thickness structure with the specified values for the horizontal and vertical sides.

public Thickness(float horizontal, float vertical)

Parameters

horizontal float

The thickness on the left and right sides.

vertical float

The thickness on the top and bottom sides.