Share via


Matrix.RectStaysRect Method

Definition

Returns true if will map a rectangle to another rectangle.

[Android.Runtime.Register("rectStaysRect", "()Z", "GetRectStaysRectHandler")]
public virtual bool RectStaysRect ();
[<Android.Runtime.Register("rectStaysRect", "()Z", "GetRectStaysRectHandler")>]
abstract member RectStaysRect : unit -> bool
override this.RectStaysRect : unit -> bool

Returns

Attributes

Remarks

Returns true if will map a rectangle to another rectangle. This can be true if the matrix is identity, scale-only, or rotates a multiple of 90 degrees.

Java documentation for android.graphics.Matrix.rectStaysRect().

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