1 write to Size
Microsoft.Maui (1)
10 references to Size
Microsoft.Maui (10)
Primitives\Font.cs (10)
18 public bool IsDefault => Family == null && (Size <= 0 || double.IsNaN(Size)) && Slant == FontSlant.Default && Weight == FontWeight.Regular;
49 return new Font(Family, Size, Slant, Weight, enabled);
60 return new Font(Family, Size, fontSlant, Weight, AutoScalingEnabled);
65 return new Font(Family, Size, Slant, weight, AutoScalingEnabled);
70 return new Font(Family, Size, fontSlant, weight, AutoScalingEnabled);
91 && Size.Equals(other.Size)
112 public override int GetHashCode() => (Family, Size, Weight, Slant, AutoScalingEnabled).GetHashCode();
126 => $"Family: {Family}, Size: {Size}, Weight: {Weight}, Slant: {Slant}, AutoScalingEnabled: {AutoScalingEnabled}";