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

<init>

RelativeRectAccurate()

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

RelativeRectAccurate(@NonNull ref: RectF, left: float, top: float, right: float, bottom: float)
RelativeRectAccurate(@NonNull ref: Rect, left: float, top: float, right: float, bottom: float)
protected RelativeRectAccurate(in: Parcel)RelativeRectAccurate(@NonNull left: java.math.BigDecimal, @NonNull top: java.math.BigDecimal, @NonNull right: java.math.BigDecimal, @NonNull bottom: java.math.BigDecimal, @NonNull sourceAspect: java.math.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 - java.math.BigDecimal: The X coordinate of the left side of the rectangle

top - java.math.BigDecimal: The Y coordinate of the top of the rectangle

right - java.math.BigDecimal: The X coordinate of the right side of the rectangle

bottom - java.math.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 - RectF: 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 - RectF: The rectangle whose coordinates are copied into the new rectangle.