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