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
CornerRadiusfloatSpacingfloatStrokeWidthfloatFocusWidthfloatTrackWidthfloatShadowBlurfloatShadowOffsetYfloatControlHeightfloat
Properties
ControlHeight
public float ControlHeight { get; init; }
Property Value
CornerRadius
public float CornerRadius { get; init; }
Property Value
FocusWidth
public float FocusWidth { get; init; }
Property Value
ShadowBlur
public float ShadowBlur { get; init; }
Property Value
ShadowOffsetY
public float ShadowOffsetY { get; init; }
Property Value
Spacing
public float Spacing { get; init; }
Property Value
StrokeWidth
public float StrokeWidth { get; init; }
Property Value
TrackWidth
public float TrackWidth { get; init; }