10 instantiations of CornerRadius
Microsoft.Maui (7)
Converters\CornerRadiusTypeConverter.cs (6)
37 return new CornerRadius(tl, tr, bl, br); 41 return new CornerRadius(l); 49 return new CornerRadius(t, b, b, t); 54 return new CornerRadius(tl, trbl, trbl, br); 60 return new CornerRadius(tl, tr, bl, br); 65 return new CornerRadius(l);
Primitives\CornerRadius.cs (1)
41 return new CornerRadius(uniformRadius);
Microsoft.Maui.Controls (3)
Shapes\RoundRectangle.cs (1)
17 BindableProperty.Create(nameof(CornerRadius), typeof(CornerRadius), typeof(RoundRectangle), new CornerRadius());
Shapes\RoundRectangleGeometry.cs (1)
43 BindableProperty.Create(nameof(CornerRadius), typeof(CornerRadius), typeof(RoundRectangleGeometry), new CornerRadius(),
Shapes\StrokeShapeTypeConverter.cs (1)
116 CornerRadius cornerRadius = new CornerRadius();
30 references to CornerRadius
Microsoft.Maui (10)
Converters\CornerRadiusTypeConverter.cs (3)
20 return (CornerRadius)d; 69 throw new InvalidOperationException($"Cannot convert \"{strValue}\" into {typeof(CornerRadius)}"); 74 if (value is not CornerRadius cr)
Primitives\CornerRadius.cs (7)
39 public static implicit operator CornerRadius(double uniformRadius) 44 bool Equals(CornerRadius other) 58 return obj is CornerRadius cornerRadius && Equals(cornerRadius); 74 public static bool operator ==(CornerRadius left, CornerRadius right) 79 public static bool operator !=(CornerRadius left, CornerRadius right)
Microsoft.Maui.Controls (16)
BoxView\BoxView.cs (2)
34 public CornerRadius CornerRadius 36 get => (CornerRadius)GetValue(CornerElement.CornerRadiusProperty);
CornerElement.cs (4)
6 /// <summary>Bindable property for <see cref="CornerRadius"/>.</summary> 8 BindableProperty.Create(nameof(CornerRadius), typeof(CornerRadius), typeof(ICornerElement), default(CornerRadius));
ICornerElement.cs (1)
7 CornerRadius CornerRadius { get; }
Shapes\RoundRectangle.cs (3)
17 BindableProperty.Create(nameof(CornerRadius), typeof(CornerRadius), typeof(RoundRectangle), new CornerRadius()); 19 public CornerRadius CornerRadius 22 get { return (CornerRadius)GetValue(CornerRadiusProperty); }
Shapes\RoundRectangleGeometry.cs (4)
18 public RoundRectangleGeometry(CornerRadius cornerRadius, Rect rect) 43 BindableProperty.Create(nameof(CornerRadius), typeof(CornerRadius), typeof(RoundRectangleGeometry), new CornerRadius(), 52 public CornerRadius CornerRadius 55 get { return (CornerRadius)GetValue(CornerRadiusProperty); }
Shapes\StrokeShapeTypeConverter.cs (2)
116 CornerRadius cornerRadius = new CornerRadius(); 121 cornerRadius = (CornerRadius)cornerRadiusTypeConverter.ConvertFromString(parts[1]);
Microsoft.Maui.Controls.Build.Tasks (3)
CompiledConverters\CornerRadiusTypeConverter.cs (1)
36 throw new BuildException(BuildExceptionCode.Conversion, node, null, value, typeof(CornerRadius));
CompiledConverters\StrokeShapeTypeConverter.cs (2)
177 var cornerRadius = (CornerRadius)cornerRadiusTypeConverter.ConvertFromString(parts[1]);
Microsoft.Maui.Controls.Compatibility (1)
Tizen\Extensions\BrushExtensions.cs (1)
28 public static SKPath ToRoundedRectPath(this SKRectI bounds, CornerRadius cornerRadius)