Compartir a través de


View.ScaleY Property

Definition

The amount that the view is scaled in y around the pivot point, as a proportion of the view's unscaled height. -or- Sets the amount that the view is scaled in Y around the pivot point, as a proportion of the view's unscaled width.

public virtual float ScaleY { [Android.Runtime.Register("getScaleY", "()F", "GetGetScaleYHandler")] get; [Android.Runtime.Register("setScaleY", "(F)V", "GetSetScaleY_FHandler")] set; }
[<get: Android.Runtime.Register("getScaleY", "()F", "GetGetScaleYHandler")>]
[<set: Android.Runtime.Register("setScaleY", "(F)V", "GetSetScaleY_FHandler")>]
member this.ScaleY : single with get, set

Property Value

The scaling factor.

Attributes

Remarks

Property getter documentation:

The amount that the view is scaled in y around the pivot point, as a proportion of the view's unscaled height. A value of 1, the default, means that no scaling is applied.

By default, this is 1.0f.

Java documentation for android.view.View.getScaleY().

Property setter documentation:

Sets the amount that the view is scaled in Y around the pivot point, as a proportion of the view's unscaled width. A value of 1 means that no scaling is applied.

Java documentation for android.view.View.setScaleY(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

See also