Sdílet prostřednictvím


RenderNode.SetScaleX(Single) Method

Definition

Sets the scale value for the display list on the X axis.

[Android.Runtime.Register("setScaleX", "(F)Z", "", ApiSince=29)]
public bool SetScaleX (float scaleX);
[<Android.Runtime.Register("setScaleX", "(F)Z", "", ApiSince=29)>]
member this.SetScaleX : single -> bool

Parameters

scaleX
Single

The scale value of the display list

Returns

True if the value changed, false if the new value was the same as the previous value.

Attributes

Remarks

Sets the scale value for the display list on the X axis.

Java documentation for android.graphics.RenderNode.setScaleX(float).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to