toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.image.vector.format
/
SVG
/
RectSvgElement
Rect
Svg
Element
open
inner
class
RectSvgElement
(
val
xml
:
Xml
)
:
SVG.SvgElement
Members
Constructors
Rect
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
height
Link copied to clipboard
var
height
:
Double
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
rx
Link copied to clipboard
var
rx
:
Double
ry
Link copied to clipboard
var
ry
:
Double
transform
Link copied to clipboard
var
transform
:
Matrix
width
Link copied to clipboard
var
width
:
Double
x
Link copied to clipboard
var
x
:
Double
xml
Link copied to clipboard
val
xml
:
Xml
y
Link copied to clipboard
var
y
:
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