RelativeRectFast

Create a new empty BigRect. All coordinates are initialized to 0.

open fun RelativeRectFast()
open fun RelativeRectFast(ref: RectF, left: Float, top: Float, right: Float, bottom: Float)
open fun RelativeRectFast(ref: Rect, left: Float, top: Float, right: Float, bottom: Float)

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.

Parameters

bottom

The Y coordinate of the bottom of the rectangle

left

The X coordinate of the left side of the rectangle

right

The X coordinate of the right side of the rectangle

top

The Y coordinate of the top of the rectangle

open fun RelativeRectFast(left: Double, top: Double, right: Double, bottom: Double, sourceAspect: Double)

Create a new rectangle, initialized with the values in the specified rectangle (which is left unmodified).

Parameters

r

The rectangle whose coordinates are copied into the new rectangle.

open fun RelativeRectFast(r: RelativeRectFast)

Create a new rectangle, initialized with the values in the specified rectangle (which is left unmodified).

Parameters

r

The rectangle whose coordinates are copied into the new rectangle.

open fun RelativeRectFast(ref: Rect, r: Rect)

Create a new rectangle, initialized with the values in the specified rectangle (which is left unmodified).

Parameters

r

The rectangle whose coordinates are copied into the new rectangle.

open fun RelativeRectFast(ref: Rect, r: RectF)

Create a new rectangle, initialized with the values in the specified rectangle (which is left unmodified).

Parameters

r

The rectangle whose coordinates are copied into the new rectangle.

open fun RelativeRectFast(ref: RectF, r: Rect)

Create a new rectangle, initialized with the values in the specified rectangle (which is left unmodified).

Parameters

r

The rectangle whose coordinates are copied into the new rectangle.

open fun RelativeRectFast(ref: RectF, r: RectF)