Struct Thickness
- Namespace
- PluginUI
- Assembly
- PluginUI.dll
Thickness of a frame (margin, padding, border) for each side, in DIPs.
public readonly record struct Thickness : IEquatable<Thickness>
- Implements
- Inherited Members
Constructors
Thickness(float)
Same thickness on every side.
public Thickness(float uniform)
Parameters
uniformfloat
Thickness(float, float)
Horizontal and vertical thickness.
public Thickness(float horizontal, float vertical)
Parameters
Thickness(float, float, float, float)
Thickness of a frame (margin, padding, border) for each side, in DIPs.
public Thickness(float Left, float Top, float Right, float Bottom)
Parameters
Properties
Bottom
public float Bottom { get; init; }
Property Value
Horizontal
Left + right.
public float Horizontal { get; }
Property Value
Left
public float Left { get; init; }
Property Value
Right
public float Right { get; init; }
Property Value
Top
public float Top { get; init; }
Property Value
Vertical
Top + bottom.
public float Vertical { get; }
Property Value
Zero
No thickness.
public static Thickness Zero { get; }
Property Value
Operators
implicit operator Thickness(float)
Implicit conversion from a uniform value.
public static implicit operator Thickness(float uniform)
Parameters
uniformfloat