Skip to main content

Interface: SampleSpaceOptions

Defined in: mobjects/probability/SampleSpace.ts:17

Options for creating a SampleSpace

Properties

center?

optional center: Vector3Tuple

Defined in: mobjects/probability/SampleSpace.ts:29

Center position. Default: [0, 0, 0]


color?

optional color: string

Defined in: mobjects/probability/SampleSpace.ts:23

Stroke color for the outline. Default: WHITE


fillOpacity?

optional fillOpacity: number

Defined in: mobjects/probability/SampleSpace.ts:25

Fill opacity for partitions. Default: 1


fontSize?

optional fontSize: number

Defined in: mobjects/probability/SampleSpace.ts:31

Default font size for labels. Default: 24


height?

optional height: number

Defined in: mobjects/probability/SampleSpace.ts:21

Height of the sample space rectangle. Default: 3


strokeWidth?

optional strokeWidth: number

Defined in: mobjects/probability/SampleSpace.ts:27

Stroke width for the outline. Default: 2


width?

optional width: number

Defined in: mobjects/probability/SampleSpace.ts:19

Width of the sample space rectangle. Default: 3