共用方式為


RotateDrawable.PivotXRelative Property

Definition

Sets whether the X pivot value represents a fraction of the drawable width or an absolute value in pixels.

public virtual bool PivotXRelative { [Android.Runtime.Register("isPivotXRelative", "()Z", "GetIsPivotXRelativeHandler")] get; [Android.Runtime.Register("setPivotXRelative", "(Z)V", "GetSetPivotXRelative_ZHandler")] set; }
[<get: Android.Runtime.Register("isPivotXRelative", "()Z", "GetIsPivotXRelativeHandler")>]
[<set: Android.Runtime.Register("setPivotXRelative", "(Z)V", "GetSetPivotXRelative_ZHandler")>]
member this.PivotXRelative : bool with get, set

Property Value

true if the X pivot represents a fraction of the drawable width, or false if it represents an absolute value in pixels

Attributes

Remarks

Property getter documentation:

Java documentation for android.graphics.drawable.RotateDrawable.isPivotXRelative().

Property setter documentation:

Sets whether the X pivot value represents a fraction of the drawable width or an absolute value in pixels.

Java documentation for android.graphics.drawable.RotateDrawable.setPivotXRelative(boolean).

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