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

<init>

RelativeRectAccurate()

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

RelativeRectAccurate(ref: RectF!, left: Float, top: Float, right: Float, bottom: Float)
RelativeRectAccurate(ref: Rect!, left: Float, top: Float, right: Float, bottom: Float)
protected RelativeRectAccurate(in: Parcel!) RelativeRectAccurate(left: BigDecimal!, top: BigDecimal!, right: BigDecimal!, bottom: BigDecimal!, sourceAspect: BigDecimal!)

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 - BigDecimal!: The X coordinate of the left side of the rectangle

top - BigDecimal!: The Y coordinate of the top of the rectangle

right - BigDecimal!: The X coordinate of the right side of the rectangle

bottom - BigDecimal!: The Y coordinate of the bottom of the rectangle

RelativeRectAccurate(r: RelativeRectAccurate!)

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

Parameters

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

RelativeRectAccurate(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.

RelativeRectAccurate(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.

RelativeRectAccurate(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.

RelativeRectAccurate(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.

RelativeRectAccurate(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.