toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.image.vector.format
/
SVG
/
PathSvgElement
Path
Svg
Element
open
inner
class
PathSvgElement
(
val
xml
:
Xml
)
:
SVG.SvgElement
Members
Constructors
Path
Svg
Element
Link copied to clipboard
constructor
(
xml
:
Xml
)
Properties
attributes
Link copied to clipboard
val
attributes
:
Map
<
String
,
String
>
children
Link copied to clipboard
val
children
:
List
<
SVG.SvgElement
>
class
Names
Link copied to clipboard
val
classNames
:
Set
<
String
>
d
Link copied to clipboard
var
d
:
String
dom
Link copied to clipboard
val
dom
:
DOM
id
Link copied to clipboard
var
id
:
String
?
mappings
Link copied to clipboard
val
mappings
:
DOM.DomPropertyMapping
?
=
null
opacity
Link copied to clipboard
var
opacity
:
Double
path
Link copied to clipboard
val
path
:
VectorPath
transform
Link copied to clipboard
var
transform
:
Matrix
xml
Link copied to clipboard
val
xml
:
Xml
Functions
add
Class
Name
Link copied to clipboard
fun
addClassName
(
name
:
String
)
add
Class
Names
Link copied to clipboard
fun
addClassNames
(
vararg
names
:
String
)
draw
Link copied to clipboard
fun
draw
(
c
:
Context2d
)
draw
Children
Link copied to clipboard
open
fun
drawChildren
(
c
:
Context2d
)
draw
Internal
Link copied to clipboard
open
override
fun
drawInternal
(
c
:
Context2d
)
fill
Stroke
Internal
Link copied to clipboard
open
fun
fillStrokeInternal
(
c
:
Context2d
)
parse
Fill
Stroke
Link copied to clipboard
fun
parseFillStroke
(
c
:
Context2d
,
str2
:
String
)
:
Paint
parse
Number
Link copied to clipboard
fun
String
.
parseNumber
(
default
:
Double
)
:
Double
remove
Class
Name
Link copied to clipboard
fun
removeClassName
(
name
:
String
)
remove
Class
Names
Link copied to clipboard
fun
removeClassNames
(
vararg
names
:
String
)
set
Common
Styles
Link copied to clipboard
open
fun
setCommonStyles
(
c
:
Context2d
)
set
Property
Link copied to clipboard
open
fun
setProperty
(
prop
:
String
,
value
:
Any
?
)
set
Property
Interpolated
Link copied to clipboard
fun
setPropertyInterpolated
(
result
:
CSS.InterpolationResult
)
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String