Eulergraph
Preparing search index...
internal/Ruler
Ruler
Class Ruler
Index
Constructors
constructor
Properties
height
horizontal
path
size
text
Positions
X
text
Positions
Y
vertical
width
Methods
render
update
Constructors
constructor
new
Ruler
()
:
Ruler
Returns
Ruler
Properties
height
height
:
number
= 0
horizontal
horizontal
:
Path2D
path
path
:
Path2D
size
size
:
number
= RULER_HEIGHT
text
Positions
X
textPositionsX
:
{
val
:
number
;
x
:
number
}
[]
= []
text
Positions
Y
textPositionsY
:
{
val
:
number
;
x
:
number
}
[]
= []
vertical
vertical
:
Path2D
width
width
:
number
= 0
Methods
render
render
(
ctx
:
CanvasRenderingContext2D
,
colors
:
RulerColors
)
:
void
Parameters
ctx
:
CanvasRenderingContext2D
colors
:
RulerColors
Returns
void
update
update
(
canvasWitdh
:
number
,
canvasHeight
:
number
,
drawParams
:
DrawParams
)
:
void
Parameters
canvasWitdh
:
number
canvasHeight
:
number
drawParams
:
DrawParams
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
height
horizontal
path
size
text
Positions
X
text
Positions
Y
vertical
width
Methods
render
update
Eulergraph
Loading...