Table of Contents

Class Visual.PopupWidth

Namespace
PolyMod.Managers
Assembly
PolyMod.dll

The custom width settings of one popup.

public record Visual.PopupWidth : IEquatable<Visual.PopupWidth>
Inheritance
Visual.PopupWidth
Implements
Inherited Members

Constructors

PopupWidth(BasicPopupLegacy, float, float)

The custom width settings of one popup.

public PopupWidth(BasicPopupLegacy popup, float share, float maximum)

Parameters

popup BasicPopupLegacy

The popup that uses the custom width.

share float

The share of the usable screen width, from 0 to 1. A value of 0 or less gives a fixed width.

maximum float

The maximum width in canvas units. With a fixed width, this is the width of the popup.

Properties

maximum

The maximum width in canvas units. With a fixed width, this is the width of the popup.

public float maximum { get; init; }

Property Value

float

popup

The popup that uses the custom width.

public BasicPopupLegacy popup { get; init; }

Property Value

BasicPopupLegacy

share

The share of the usable screen width, from 0 to 1. A value of 0 or less gives a fixed width.

public float share { get; init; }

Property Value

float