protected override void RepaintText() { if (_frameRepainted == false) { ThisFrame.Text = ""; ThisDraw.InvalidateVisual(); _frameRepainted = true; } if (_thisNumber == null) { throw new BasicBlankException("It should have created the number text so it can repaint"); } _thisNumber.NumberValue = int.Parse(_thisMod !.TextToAppear); }
public void Redraw() => ThisDraw.InvalidateSurface();
protected bool HasAngles = true; //i think. if i am wrong, rethink. public void Repaint() { ThisDraw.InvalidateSurface(); }
public void DoInvalidate() => ThisDraw.InvalidateSurface(); //if somebody wants to do manually, do it via doinvalidate.
public virtual void Init() // the actual is not working at this moment until the property change happens { Mains.ActualWidth = WidthRequest - Margin.Left - Margin.Right; Mains.ActualHeight = HeightRequest - Margin.Bottom - Margin.Top; ThisDraw.InvalidateSurface(); }
public void Handle(RepaintEventModel message) { ThisDraw.InvalidateSurface(); }