Edit

SKCanvasView.OnSizeChanged(Int32, Int32, Int32, Int32) Method

Definition

This is called during layout when the size of this view has changed. If you were just added to the view hierarchy, you're called with the old values of 0.

protected override void OnSizeChanged(int w, int h, int oldw, int oldh);

Parameters

w
Int32

Current width of this view.

h
Int32

Current height of this view.

oldw
Int32

Old width of this view.

oldh
Int32

Old height of this view.

Applies to