Appearance
Points
Points are dots that can be rendered at a location (x, y).
Code
vue
<script setup lang="ts">
import { Mafs, Cartesian, Point } from 'mafs-vue'
</script>
<template>
<Mafs :height="300">
<Cartesian />
<Point :x="1" :y="1" />
</Mafs>
</template>
Props
<Point ... />
Name | Description | Default |
---|---|---|
x | number | — |
y | number | — |
color | string | var(--mafs-fg) |
opacity | number | 1 |