# Interface DrawOptions

Draw Options

- Accessed via `human.draw.options` or provided per each draw method as the drawOptions optional parameter

#### Hierarchy

- DrawOptions

- Defined in src/draw/options.ts:5

#####
Index

### Properties

alpha
bodyLabels
bodyPartLabels
color
drawAttention
drawBoxes
drawGaze
drawGestures
drawLabels
drawPoints
drawPolygons
faceLabels
fillPolygons
fingerLabels
font
gestureLabels
handLabels
labelColor
lineHeight
lineWidth
objectLabels
pointSize
roundRect
shadowColor
useCurves
useDepth

## Properties

### alpha

alpha: number

alpha value used for lines

- Defined in src/draw/options.ts:9

### bodyLabels

bodyLabels: string

string template for body labels

- Defined in src/draw/options.ts:47

### bodyPartLabels

bodyPartLabels: string

string template for body part labels

- Defined in src/draw/options.ts:49

### color

color: string

draw line color

- Defined in src/draw/options.ts:7

### drawAttention

drawAttention: boolean

should face attention keypoints be highlighted

- Defined in src/draw/options.ts:29

### drawBoxes

drawBoxes: boolean

should draw boxes around detection results?

- Defined in src/draw/options.ts:33

### drawGaze

drawGaze: boolean

should draw gaze arrows?

- Defined in src/draw/options.ts:37

### drawGestures

drawGestures: boolean

should detected gestures be drawn?

- Defined in src/draw/options.ts:31

### drawLabels

drawLabels: boolean

should labels be drawn?

- Defined in src/draw/options.ts:27

### drawPoints

drawPoints: boolean

should points be drawn?

- Defined in src/draw/options.ts:25

### drawPolygons

drawPolygons: boolean

should draw polygons from detection points?

- Defined in src/draw/options.ts:35

### faceLabels

faceLabels: string

string template for face labels

- Defined in src/draw/options.ts:45

### fillPolygons

fillPolygons: boolean

should fill polygons?

- Defined in src/draw/options.ts:39

### fingerLabels

fingerLabels: string

string template for hand labels

- Defined in src/draw/options.ts:53

### font

font: string

label font

- Defined in src/draw/options.ts:15

### gestureLabels

gestureLabels: string

string template for gesture labels

- Defined in src/draw/options.ts:57

### handLabels

handLabels: string

string template for hand labels

- Defined in src/draw/options.ts:51

### labelColor

labelColor: string

label color

- Defined in src/draw/options.ts:11

### lineHeight

lineHeight: number

line spacing between labels

- Defined in src/draw/options.ts:17

### lineWidth

lineWidth: number

line width for drawn lines

- Defined in src/draw/options.ts:19

### objectLabels

objectLabels: string

string template for object labels

- Defined in src/draw/options.ts:55

### pointSize

pointSize: number

size of drawn points

- Defined in src/draw/options.ts:21

### roundRect

roundRect: number

draw rounded boxes by n pixels

- Defined in src/draw/options.ts:23

### shadowColor

shadowColor: string

label shadow color

- Defined in src/draw/options.ts:13

### useCurves

useCurves: boolean

should lines be curved?

- Defined in src/draw/options.ts:43

### useDepth

useDepth: boolean

use z-coordinate when available

- Defined in src/draw/options.ts:41