toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.graphics
/
AGScissor
AGScissor
data
class
AGScissor
Members
Members & Extensions
Constructors
AGScissor
Link copied to clipboard
constructor
(
x
:
Int
,
y
:
Int
,
width
:
Int
,
height
:
Int
)
constructor
(
x
:
Float
,
y
:
Float
,
width
:
Float
,
height
:
Float
)
constructor
(
x
:
Double
,
y
:
Double
,
width
:
Double
,
height
:
Double
)
constructor
(
rect
:
Rectangle
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
_bottom
Link copied to clipboard
val
_bottom
:
Short
_left
Link copied to clipboard
val
_left
:
Short
_right
Link copied to clipboard
val
_right
:
Short
_top
Link copied to clipboard
val
_top
:
Short
bottom
Link copied to clipboard
val
bottom
:
Int
height
Link copied to clipboard
val
height
:
Int
is
NIL
Link copied to clipboard
val
isNIL
:
Boolean
is
Not
NIL
Link copied to clipboard
val
isNotNIL
:
Boolean
left
Link copied to clipboard
val
left
:
Int
right
Link copied to clipboard
val
right
:
Int
top
Link copied to clipboard
val
top
:
Int
width
Link copied to clipboard
val
width
:
Int
x
Link copied to clipboard
val
x
:
Int
y
Link copied to clipboard
val
y
:
Int
Functions
apply
Matrix
Bounds
Link copied to clipboard
fun
AGScissor
.
applyMatrixBounds
(
m
:
Matrix
)
:
AGScissor
copy
Link copied to clipboard
fun
copy
(
x
:
Int
=
this.x
,
y
:
Int
=
this.y
,
width
:
Int
=
this.width
,
height
:
Int
=
this.height
)
:
AGScissor
to
Rect
Link copied to clipboard
fun
toRect
(
)
:
Rectangle
to
Rect
Or
Null
Link copied to clipboard
fun
toRectOrNull
(
)
:
Rectangle
?
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String