Skip to main content

Thickness(Double, Double) Constructor

Initializes a new instance of the Thickness structure.

Definition​

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public Thickness(
double horizontal,
double vertical
)

Parameters​

  Double
The thickness on the left and right.
  Double
The thickness on the top and bottom.

See Also​

Reference​

Thickness Structure
Thickness Overload
Avalonia Namespace