toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.image.vector.format
/
SVG
/
LineSvgElement
Line
Svg
Element
open
inner
class
LineSvgElement
(
val
xml
:
Xml
)
:
SVG.SvgElement
Members
Constructors
Line
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
>
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
transform
Link copied to clipboard
var
transform
:
Matrix
x1
Link copied to clipboard
var
x1
:
Double
x2
Link copied to clipboard
var
x2
:
Double
xml
Link copied to clipboard
val
xml
:
Xml
y1
Link copied to clipboard
var
y1
:
Double
y2
Link copied to clipboard
var
y2
:
Double
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