ly.img.android.pesdk.backend.model.chunk / RelativeRectFast / set

set

open fun set(ref: RectF!, left: Float, top: Float, right: Float, bottom: Float): Unit

Set the rectangle's coordinates to the specified values. Note: no range checking is performed, so it is up to the caller to ensure that left <= right and top <= bottom.

Parameters

left - Float: The X coordinate of the left side of the rectangle

top - Float: The Y coordinate of the top of the rectangle

right - Float: The X coordinate of the right side of the rectangle

bottom - Float: The Y coordinate of the bottom of the rectangle

open fun set(ref: Rect!, left: Float, top: Float, right: Float, bottom: Float): Unit

Set the rectangle's coordinates to the specified values. Note: no range checking is performed, so it is up to the caller to ensure that left <= right and top <= bottom.

Parameters

left - Float: The X coordinate of the left side of the rectangle

top - Float: The Y coordinate of the top of the rectangle

right - Float: The X coordinate of the right side of the rectangle

bottom - Float: The Y coordinate of the bottom of the rectangle

open fun set(left: Double, top: Double, right: Double, bottom: Double): Unit

Set the rectangle's coordinates to the specified values. Note: no range checking is performed, so it is up to the caller to 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

open fun set(src: RelativeRectFast!): Unit

Copy the coordinates from src into this rectangle.

Parameters

src - RelativeRectFast!: The rectangle whose coordinates are copied into this rectangle.

open fun set(ref: RectF!, src: RectF!): Unit

Copy the coordinates from src into this rectangle.

Parameters

src - RectF!: The rectangle whose coordinates are copied into this rectangle.

open fun set(ref: RectF!, src: Rect!): Unit

Copy the coordinates from src into this rectangle.

Parameters

src - RectF!: The rectangle whose coordinates are copied into this rectangle.

open fun set(ref: Rect!, src: Rect!): Unit

Copy the coordinates from src into this rectangle.

Parameters

src - RectF!: The rectangle whose coordinates are copied into this rectangle.

open fun set(ref: Rect!, src: RectF!): Unit

Copy the coordinates from src into this rectangle.

Parameters

src - RectF!: The rectangle whose coordinates are copied into this rectangle.