toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.image.vector
/
NinePatchVector
Nine
Patch
Vector
class
NinePatchVector
(
val
path
:
VectorPath
,
val
slices
:
NinePatchSlices2D
,
oldSize
:
Size
?
=
null
)
Members
Constructors
Nine
Patch
Vector
Link copied to clipboard
constructor
(
path
:
VectorPath
,
slices
:
NinePatchSlices2D
,
oldSize
:
Size
?
=
null
)
Properties
path
Link copied to clipboard
val
path
:
VectorPath
size
Link copied to clipboard
val
size
:
Size2D
slices
Link copied to clipboard
val
slices
:
NinePatchSlices2D
Functions
get
Scaled
Point
At
Link copied to clipboard
fun
getScaledPointAt
(
point
:
Point
,
newSize
:
Size
)
:
Point
transform
Link copied to clipboard
fun
transform
(
newSize
:
Size
,
out
:
VectorPath
=
VectorPath()
)
:
VectorPath