Points

Points are dots that can be rendered at a location (x, y).

import { Mafs, Point, CartesianCoordinates } from "mafs" function SimplePoint() { return ( <Mafs> <CartesianCoordinates /> <Point x={1} y={1} /> </Mafs> ) }

Props

<Point ... />
NameDescriptionDefault
x
number
y
number
color
string
var(--mafs-fg)
opacity
number
1
svgCircleProps
SVGProps<SVGCircleElement>
{}