Preparing search index...
The search index is not available
@mauricioroberto/math-world
@mauricioroberto/math-world
Paint
Class Paint
Hierarchy
Paint
Implements
default
Index
Constructors
constructor
Properties
draw_
mode
world_
math
Methods
angle
In
Radians
angle
In
Radians360
arc
capsule
cartesian
circle
get
Point
By
Draw
Mode
get
Tailwind
Color
line
mode
off
point
rect
screen
text
world
Constructors
constructor
new
Paint
(
world_math
)
:
Paint
Parameters
world_math
:
default
Returns
Paint
Properties
Private
draw_
mode
draw_
mode
:
PaintDrawMode
= "off"
Private
world_
math
world_
math
:
default
Methods
angle
In
Radians
angle
In
Radians
(
degrees
)
:
number
Parameters
degrees
:
number
Returns
number
angle
In
Radians360
angle
In
Radians360
(
degrees
)
:
number
Parameters
degrees
:
number
Returns
number
arc
arc
(
__namedParameters
)
:
Paint
Parameters
__namedParameters
:
ArcDraw
Returns
Paint
capsule
capsule
(
__namedParameters
)
:
Paint
Parameters
__namedParameters
:
CapsuleDraw
Returns
Paint
cartesian
cartesian
(
)
:
void
Returns
void
circle
circle
(
__namedParameters
)
:
Paint
Parameters
__namedParameters
:
CircleDraw
Returns
Paint
get
Point
By
Draw
Mode
get
Point
By
Draw
Mode
(
point
)
:
Point
|
Vector2D
Parameters
point
:
Point
|
Vector2D
Returns
Point
|
Vector2D
get
Tailwind
Color
get
Tailwind
Color
(
name
,
value
?
,
opacity
?
)
:
string
Parameters
name
:
TailwindColorName
value
:
TailwindColorValue
= "500"
opacity
:
number
= 100
Returns
string
line
line
(
__namedParameters
)
:
Paint
Parameters
__namedParameters
:
LineDraw
Returns
Paint
mode
mode
(
draw_mode
)
:
void
Parameters
draw_mode
:
PaintDrawMode
Returns
void
off
off
(
)
:
void
Returns
void
point
point
(
__namedParameters
)
:
Paint
Parameters
__namedParameters
:
PointDraw
Returns
Paint
rect
rect
(
__namedParameters
)
:
Paint
Parameters
__namedParameters
:
RectDraw
Returns
Paint
screen
screen
(
)
:
void
Returns
void
text
text
(
__namedParameters
)
:
Paint
Parameters
__namedParameters
:
TextDraw
Returns
Paint
world
world
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
draw_
mode
world_
math
angle
In
Radians
angle
In
Radians360
arc
capsule
cartesian
circle
get
Point
By
Draw
Mode
get
Tailwind
Color
line
mode
off
point
rect
screen
text
world
@mauricioroberto/math-
world
Math
World
Paint
Vector2D
Arc
Draw
Capsule
Draw
Circle
Draw
Debug
Mouse
Mode
Line
Draw
Paint
Draw
Mode
Point
Point
Draw
Rect
Draw
Tailwind
Color
Name
Tailwind
Color
Value
Text
Draw
Generated using
TypeDoc