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.
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: BigDecimal!, top: BigDecimal!, right: BigDecimal!, bottom: BigDecimal!): 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.
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
open fun set(src: RelativeRectAccurate!): Unit
Copy the coordinates from src into this rectangle.
src
- RelativeRectAccurate!: 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.
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.
src
- RectF!: The rectangle whose coordinates are copied into this rectangle.