2 writes to _bounds
Microsoft.Maui (2)
Platform\iOS\MauiCALayer.cs (2)
38 _bounds = new CGRect(); 81 _bounds = new CGRect(bounds.Location, bounds.Size);
20 references to _bounds
Microsoft.Maui (20)
Platform\iOS\MauiCALayer.cs (20)
76 if (bounds.Equals(_bounds)) 311 var bounds = _bounds.ToRectangle(); 399 new CGPoint(_bounds.Left + linearGradientPaint.StartPoint.X * _bounds.Width, _bounds.Top + linearGradientPaint.StartPoint.Y * _bounds.Height), 400 new CGPoint(_bounds.Left + linearGradientPaint.EndPoint.X * _bounds.Width, _bounds.Top + linearGradientPaint.EndPoint.Y * _bounds.Height), 408 new CGPoint(radialGradientPaint.Center.X * _bounds.Width + _bounds.Left, radialGradientPaint.Center.Y * _bounds.Height + _bounds.Top), 410 new CGPoint(radialGradientPaint.Center.X * _bounds.Width + _bounds.Left, radialGradientPaint.Center.Y * _bounds.Height + _bounds.Top), 411 (nfloat)(radialGradientPaint.Radius * Math.Max(_bounds.Height, _bounds.Width)),