Companion

object Companion

Functions

Link copied to clipboard

Returns a copy of r if r is not null, or null otherwise.

Link copied to clipboard

Returns true iff the two specified rectangles intersect. In no event are either of the rectangles modified. To record the intersection, use .intersect or .setIntersect.

Link copied to clipboard

Returns a Rect from a string of the form returned by .flattenToString, or null if the string is not of that form.