編集

次の方法で共有


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