toggle menu
skiko
0.0.0-SNAPSHOT
common
switch theme
search in API
skiko
/
org.jetbrains.skia.svg
/
SVGLengthContext
SVGLength
Context
class
SVGLengthContext
(
val
width
:
Float
,
val
height
:
Float
,
val
dpi
:
Float
=
90.0f
)
Members
Constructors
SVGLength
Context
Link copied to clipboard
constructor
(
size
:
Point
)
constructor
(
width
:
Float
,
height
:
Float
,
dpi
:
Float
=
90.0f
)
Properties
dpi
Link copied to clipboard
val
dpi
:
Float
=
90.0f
height
Link copied to clipboard
val
height
:
Float
width
Link copied to clipboard
val
width
:
Float
Functions
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
resolve
Link copied to clipboard
fun
resolve
(
length
:
SVGLength
,
type
:
SVGLengthType
)
:
Float
resolve
Rect
Link copied to clipboard
fun
resolveRect
(
x
:
SVGLength
,
y
:
SVGLength
,
width
:
SVGLength
,
height
:
SVGLength
)
:
Rect
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
with
Dpi
Link copied to clipboard
fun
withDpi
(
_dpi
:
Float
)
:
SVGLengthContext
with
Height
Link copied to clipboard
fun
withHeight
(
_height
:
Float
)
:
SVGLengthContext
with
Width
Link copied to clipboard
fun
withWidth
(
_width
:
Float
)
:
SVGLengthContext