Interface: FaceOptions
Defined in: packages/sdvplot/src/d3/faces.ts:5
Face options for appendHeadshots (blazing-the-nets main scatter "faces", lib/charts/scatterChart.ts:139-191).
Extended by
Properties
clip?
optionalclip?:"circle"
Defined in: packages/sdvplot/src/d3/faces.ts:10
"circle": the headshot inside a circle whose diameter is height × frameHeight. The image is drawn 2.3 R tall
so the head fills the circle, so drawnMarks reports 1.15 × height for a face.
placeholder?
optionalplaceholder?:string| ((id) =>string)
Defined in: packages/sdvplot/src/d3/faces.ts:14
A disc behind the face at 0.35 opacity, still there if the image fails (:169-172). Default none.
ring?
optionalring?:string| ((id) =>string)
Defined in: packages/sdvplot/src/d3/faces.ts:12
Ring colour per player id (e.g. the team colour; :183-188, 1.5 px). Default none.