編輯

共用方式為


SKCanvasView.OnMeasure(Double, Double) Method

Definition

Method that is called when a layout measurement happens.

protected override Xamarin.Forms.SizeRequest OnMeasure (double widthConstraint, double heightConstraint);

Parameters

widthConstraint
Double

The width constraint.

heightConstraint
Double

The height constraint.

Returns

Returns the requested size for the layout.

Applies to