Interface IBodyCommonRender

Hierarchy

Properties

fillStyle: string

A String that defines the fill style to use when rendering the body (if a sprite is not defined). It is the same as when using a canvas, so it accepts CSS style property values. Default: a random colour

lineWidth: number

A Number that defines the line width to use when rendering the body outline (if a sprite is not defined). A value of 0 means no outline will be rendered.

Default

1.5
opacity: number
strokeStyle: string

A String that defines the stroke style to use when rendering the body outline (if a sprite is not defined). It is the same as when using a canvas, so it accepts CSS style property values. Default: a random colour

visible: boolean

A flag that indicates if the body should be rendered.

Default

true

Generated using TypeDoc