weasel API - v0.8.0
Preparing search index...
polygonFromPoints
Function polygonFromPoints
polygonFromPoints
(
points
:
readonly
{
x
:
number
;
y
:
number
}
[]
,
opts
?:
{
fillRule
?:
PathFillRule
}
,
)
:
PolygonPath
Build a closed polygon from a flat list of points.
Parameters
points
:
readonly
{
x
:
number
;
y
:
number
}
[]
opts
:
{
fillRule
?:
PathFillRule
}
= {}
Returns
PolygonPath
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
weasel API - v0.8.0
Loading...
Build a closed polygon from a flat list of points.