Skip to main content

Interface: PMobjectOptions

Defined in: mobjects/point/PMobject.ts:27

Options for creating a PMobject

Properties

color?

optional color: string

Defined in: mobjects/point/PMobject.ts:31

Default color for points. Default: white (#FFFFFF)


opacity?

optional opacity: number

Defined in: mobjects/point/PMobject.ts:33

Default opacity for points. Default: 1


points?

optional points: PointData[]

Defined in: mobjects/point/PMobject.ts:29

Initial points to add


pointSize?

optional pointSize: number

Defined in: mobjects/point/PMobject.ts:35

Size of each point in pixels. Default: 10


roundPoints?

optional roundPoints: boolean

Defined in: mobjects/point/PMobject.ts:37

Render points as circles instead of squares. Default: true