ly.img.android.pesdk.backend.model.chunk / RelativeRectFast / <init>

<init>

RelativeRectFast()

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

RelativeRectFast(ref: RectF!, left: Float, top: Float, right: Float, bottom: Float)
RelativeRectFast(ref: Rect!, left: Float, top: Float, right: Float, bottom: Float)
protected RelativeRectFast(in: Parcel!) RelativeRectFast(left: Double, top: Double, right: Double, bottom: Double, 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.

Parameters

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).

Parameters

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).

Parameters

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).

Parameters

r - Rect!: 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).

Parameters

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).

Parameters

r - Rect!: The rectangle whose coordinates are copied into the new rectangle.