protected virtual void OnSizeChanged(bool widthChanged, bool heightChanged) { ApplyPivot(); _paintingFlag = 1; if (graphics != null) _requireUpdateMesh = true; }