Rachel
Toggle table of contents
3.5.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.compose.core
/
love.yinlin.compose.data
/
CropRegion
Crop
Region
@
Stable
data
class
CropRegion
(
val
xPercent
:
Float
,
val
yPercent
:
Float
,
val
widthPercent
:
Float
,
val
heightPercent
:
Float
)
Members
Constructors
Crop
Region
Link copied to clipboard
constructor
(
xPercent
:
Float
,
yPercent
:
Float
,
widthPercent
:
Float
,
heightPercent
:
Float
)
constructor
(
rect
:
Rect
,
container
:
Size
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
height
Percent
Link copied to clipboard
val
heightPercent
:
Float
width
Percent
Link copied to clipboard
val
widthPercent
:
Float
x
Percent
Link copied to clipboard
val
xPercent
:
Float
y
Percent
Link copied to clipboard
val
yPercent
:
Float
Functions
times
Link copied to clipboard
operator
fun
times
(
container
:
Size
)
:
Rect
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String