Skip to content

Intermact API Reference / @intermact/core / axesObject

Function: axesObject()

axesObject(props, sceneDomain): IMObject2D

Defined in: packages/core/src/layout/axes.ts:131

Build axis lines + ticks + numeric labels as an IMObject2D. The x-axis sits at data y=0 (clamped into the y domain) and the y-axis at data x=0, mirroring Manim. Tick positions come from each axis Scale; labels use the outline glyph renderer in a math-serif font (M10).

Parameters

props

AxesProps

sceneDomain

x

Interval

y

Interval

Returns

IMObject2D

Intermact v1.0 — 文档覆盖 Phase-1 / Phase-2 / Phase-3(全阶段)