Table of Contents

Class Metrics

Namespace
PluginUI
Assembly
PluginUI.dll

Dimensions of a theme.

public sealed record Metrics : IEquatable<Metrics>
Inheritance
Metrics
Implements
Inherited Members

Constructors

Metrics(float, float, float, float, float, float, float, float)

Dimensions of a theme.

public Metrics(float CornerRadius = 4, float Spacing = 8, float StrokeWidth = 1, float FocusWidth = 1.5, float TrackWidth = 4, float ShadowBlur = 6, float ShadowOffsetY = 2, float ControlHeight = 24)

Parameters

CornerRadius float
Spacing float
StrokeWidth float
FocusWidth float
TrackWidth float
ShadowBlur float
ShadowOffsetY float
ControlHeight float

Properties

ControlHeight

public float ControlHeight { get; init; }

Property Value

float

CornerRadius

public float CornerRadius { get; init; }

Property Value

float

FocusWidth

public float FocusWidth { get; init; }

Property Value

float

ShadowBlur

public float ShadowBlur { get; init; }

Property Value

float

ShadowOffsetY

public float ShadowOffsetY { get; init; }

Property Value

float

Spacing

public float Spacing { get; init; }

Property Value

float

StrokeWidth

public float StrokeWidth { get; init; }

Property Value

float

TrackWidth

public float TrackWidth { get; init; }

Property Value

float