updated documentation
This commit is contained in:
1 parent
66fa2c4424
commit
c3702e57c9
2 files changed
+72
-1
No files matched your search
@@ -89,6 +89,9 @@ export class Circle{
|
||||
this.#color = color;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {Point} center, le nouveau centre du cercle.
|
||||
*/
|
||||
setCenter(center){
|
||||
this.#center = center;
|
||||
}
|
||||
@@ -210,4 +213,4 @@ export function populateTable(node,
|
||||
export function randomColor(i){
|
||||
const base = (i % 256).toString(16);
|
||||
return `${base}${base}${base}`
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user