Interface: LabeledLineOptions
Defined in: mobjects/geometry/LabeledGeometry.ts:58
Options for creating a LabeledLine
Extends
Omit<LineOptions,"start"|"end">
Properties
color?
optionalcolor:string
Defined in: mobjects/geometry/Line.ts:14
Stroke color as CSS color string. Default: WHITE
Inherited from
end?
optionalend:Vector3Tuple
Defined in: mobjects/geometry/LabeledGeometry.ts:62
End point of the line. Default: [1, 0, 0]
label
label:
string
Defined in: mobjects/geometry/LabeledGeometry.ts:64
Text label content
labelColor?
optionallabelColor:string
Defined in: mobjects/geometry/LabeledGeometry.ts:74
Color for label text. Default: same as line color
labelFontSize?
optionallabelFontSize:number
Defined in: mobjects/geometry/LabeledGeometry.ts:72
Font size for label. Default: 36
labelOffset?
optionallabelOffset:number
Defined in: mobjects/geometry/LabeledGeometry.ts:70
Distance of label from line. Default: 0.2
labelOrientation?
optionallabelOrientation:LabelOrientation
Defined in: mobjects/geometry/LabeledGeometry.ts:68
Label orientation relative to line. Default: 'parallel'
labelPosition?
optionallabelPosition:number
Defined in: mobjects/geometry/LabeledGeometry.ts:66
Position of label along line (0 = start, 0.5 = midpoint, 1 = end). Default: 0.5
start?
optionalstart:Vector3Tuple
Defined in: mobjects/geometry/LabeledGeometry.ts:60
Start point of the line. Default: [0, 0, 0]
strokeWidth?
optionalstrokeWidth:number
Defined in: mobjects/geometry/Line.ts:16
Stroke width in pixels. Default: 4 (Manim's default)