Skip to main content

Interface: Line3DOptions

Defined in: mobjects/three-d/Line3D.ts:12

Options for creating a Line3D

Properties

color?

optional color: string

Defined in: mobjects/three-d/Line3D.ts:18

Color as CSS color string. Default: '#ffffff'


end

end: Vector3Tuple

Defined in: mobjects/three-d/Line3D.ts:16

End point [x, y, z]. Required


lineWidth?

optional lineWidth: number

Defined in: mobjects/three-d/Line3D.ts:20

Line width in CSS pixels. Default: 2


opacity?

optional opacity: number

Defined in: mobjects/three-d/Line3D.ts:22

Opacity from 0 to 1. Default: 1


start?

optional start: Vector3Tuple

Defined in: mobjects/three-d/Line3D.ts:14

Start point [x, y, z]. Default: [0, 0, 0]