Beispiel #1
0
 // TODO : only redraw at the sprite rect
 protected virtual void SetNeedsDisplay(SkiaSprite sprite = null) => SetNeedsDisplayAction?.Invoke(sprite);
Beispiel #2
0
 public void OnPress()
 {
     OnPressAction?.Invoke(this);
     SetNeedsDisplayAction?.Invoke(this);
 }