WorldWind Kotlin
Toggle table of contents
2.1.1
wasmJs
Target filter
wasmJs
Switch theme
Search in API
Skip to content
WorldWind Kotlin
WorldWind Kotlin
/
earth.worldwind.shape.milstd2525
/
Graphics2D
Graphics2D
wasmJs
external
class
Graphics2D
:
JsAny
Members
Constructors
Graphics2D
Link copied to clipboard
wasmJs
constructor
(
)
Functions
clear
Rect
Link copied to clipboard
wasmJs
fun
clearRect
(
x
:
double
,
y
:
double
,
width
:
double
,
height
:
double
)
dispose
Link copied to clipboard
wasmJs
fun
dispose
(
)
draw
Line
Link copied to clipboard
wasmJs
fun
drawLine
(
x1
:
double
,
y1
:
double
,
x2
:
double
,
y2
:
double
)
draw
String
Link copied to clipboard
wasmJs
fun
drawString
(
s
:
String
,
x
:
double
,
y
:
double
)
get
Font
Link copied to clipboard
wasmJs
fun
getFont
(
)
:
Font
get
Font
Metrics
Link copied to clipboard
wasmJs
fun
getFontMetrics
(
)
:
FontMetrics
get
Font
Render
Context
Link copied to clipboard
wasmJs
fun
getFontRenderContext
(
)
:
FontRenderContext
get
Transform
Link copied to clipboard
wasmJs
fun
getTransform
(
)
:
JsAny
?
rotate
Link copied to clipboard
wasmJs
fun
rotate
(
theta
:
double
,
x
:
double
,
y
:
double
)
set
Background
Link copied to clipboard
wasmJs
fun
setBackground
(
color
:
Color
)
set
Color
Link copied to clipboard
wasmJs
fun
setColor
(
color
:
Color
)
set
Font
Link copied to clipboard
wasmJs
fun
setFont
(
value
:
Font
)
set
Font
Metrics
Link copied to clipboard
wasmJs
fun
setFontMetrics
(
value
:
FontMetrics
)
set
Stroke
Link copied to clipboard
wasmJs
fun
setStroke
(
stroke
:
BasicStroke
)
set
Transform
Link copied to clipboard
wasmJs
fun
setTransform
(
id
:
AffineTransform
)