RelativeRectFast()
Create a new empty BigRect. All coordinates are initialized to 0.
RelativeRectFast(@NonNull ref: RectF, left: float, top: float, right: float, bottom: float)
RelativeRectFast(@NonNull ref: Rect, left: float, top: float, right: float, bottom: float)
protected RelativeRectFast(in: Parcel)
RelativeRectFast(@NonNull left: double, @NonNull top: double, @NonNull right: double, @NonNull bottom: double, @NonNull sourceAspect: double)
Create a new rectangle with the specified coordinates. Note: no range checking is performed, so the caller must ensure that left <= right and top <= bottom.
left
- double: The X coordinate of the left side of the rectangle
top
- double: The Y coordinate of the top of the rectangle
right
- double: The X coordinate of the right side of the rectangle
bottom
- double: The Y coordinate of the bottom of the rectangle
RelativeRectFast(r: RelativeRectFast)
Create a new rectangle, initialized with the values in the specified rectangle (which is left unmodified).
r
- RelativeRectFast: The rectangle whose coordinates are copied into the new rectangle.
RelativeRectFast(ref: Rect, r: Rect)
Create a new rectangle, initialized with the values in the specified rectangle (which is left unmodified).
r
- Rect: The rectangle whose coordinates are copied into the new rectangle.
RelativeRectFast(ref: Rect, r: RectF)
Create a new rectangle, initialized with the values in the specified rectangle (which is left unmodified).
r
- RectF: The rectangle whose coordinates are copied into the new rectangle.
RelativeRectFast(ref: RectF, r: Rect)
Create a new rectangle, initialized with the values in the specified rectangle (which is left unmodified).
r
- Rect: The rectangle whose coordinates are copied into the new rectangle.
RelativeRectFast(ref: RectF, r: RectF)
Create a new rectangle, initialized with the values in the specified rectangle (which is left unmodified).
r
- RectF: The rectangle whose coordinates are copied into the new rectangle.