Struct Size
- Namespace
- PluginUI
- Assembly
- PluginUI.dll
Size in DIPs.
public readonly record struct Size : IEquatable<Size>
- Implements
- Inherited Members
Constructors
Size(float, float)
Size in DIPs.
public Size(float Width, float Height)
Parameters
Properties
Height
public float Height { get; init; }
Property Value
Infinite
Unbounded size, used as measure constraint.
public static Size Infinite { get; }
Property Value
IsEmpty
true if either dimension is zero or negative.
public bool IsEmpty { get; }
Property Value
Width
public float Width { get; init; }
Property Value
Zero
Empty size.
public static Size Zero { get; }