Appearance
Documentation / @geoverse/editor-core / mapCoordinates
Function: mapCoordinates()
ts
function mapCoordinates(g, fn): Geometry;Defined in: packages/editor-core/src/geometry/affine.ts:6
对几何的每个坐标施加 fn,保持结构(不可变)。供平移/旋转/缩放/镜像复用。
Parameters
g
Geometry
fn
Returns
Geometry
