Skip to main content

Interface: ConvexHullOptions

Defined in: mobjects/geometry/PolygonExtensions.ts:879

Options for creating a ConvexHull

Properties

color?

optional color: string

Defined in: mobjects/geometry/PolygonExtensions.ts:883

Stroke color as CSS color string. Default: Manim's blue (#58C4DD)


fillOpacity?

optional fillOpacity: number

Defined in: mobjects/geometry/PolygonExtensions.ts:885

Fill opacity from 0 to 1. Default: 0


points

points: Vector3Tuple[]

Defined in: mobjects/geometry/PolygonExtensions.ts:881

Array of points to compute convex hull from. Required.


strokeWidth?

optional strokeWidth: number

Defined in: mobjects/geometry/PolygonExtensions.ts:887

Stroke width in pixels. Default: 4 (Manim's default)