protected override void OnSizeChanged(int w, int h, int oldw, int oldh) { base.OnSizeChanged(w, h, oldw, oldh); var outline = new Outline(); OutlineProvider = new OutlineProv(); outline.SetOval(0, 0, w, h); OutlineProvider.GetOutline(this, outline); ClipToOutline = true; }
protected override void OnSizeChanged (int w, int h, int oldw, int oldh) { base.OnSizeChanged (w, h, oldw, oldh); var outline = new Outline (); OutlineProvider = new OutlineProv (); outline.SetOval (0, 0, w, h); OutlineProvider.GetOutline (this, outline); ClipToOutline = true; }