Table of Contents

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

Width float
Height float

Properties

Height

public float Height { get; init; }

Property Value

float

Infinite

Unbounded size, used as measure constraint.

public static Size Infinite { get; }

Property Value

Size

IsEmpty

true if either dimension is zero or negative.

public bool IsEmpty { get; }

Property Value

bool

Width

public float Width { get; init; }

Property Value

float

Zero

Empty size.

public static Size Zero { get; }

Property Value

Size