Skip to content

Type Alias: CustomGeometryAdjustHandle ​

CustomGeometryAdjustHandle = { gdRefX: string | null; gdRefY: string | null; kind: "xy"; maxX: GeometryCoordinate | null; maxY: GeometryCoordinate | null; minX: GeometryCoordinate | null; minY: GeometryCoordinate | null; x: GeometryCoordinate | null; y: GeometryCoordinate | null; } | { gdRefAng: string | null; gdRefR: string | null; kind: "polar"; maxAngDeg: number | null; maxR: GeometryCoordinate | null; minAngDeg: number | null; minR: GeometryCoordinate | null; x: GeometryCoordinate | null; y: GeometryCoordinate | null; }

One adjust handle of a custom geometry: an XY handle (a:ahXY) bound to guides along each axis, or a polar one (a:ahPolar) bound along its radius and angle. Every bound is null when unset.

Union Members ​

Type Literal ​

{ gdRefX: string | null; gdRefY: string | null; kind: "xy"; maxX: GeometryCoordinate | null; maxY: GeometryCoordinate | null; minX: GeometryCoordinate | null; minY: GeometryCoordinate | null; x: GeometryCoordinate | null; y: GeometryCoordinate | null; }

gdRefX ​

gdRefX: string | null

gdRefY ​

gdRefY: string | null

kind ​

kind: "xy"

maxX ​

maxX: GeometryCoordinate | null

maxY ​

maxY: GeometryCoordinate | null

minX ​

minX: GeometryCoordinate | null

minY ​

minY: GeometryCoordinate | null

x ​

x: GeometryCoordinate | null

The handle's position (a:pos).

y ​

y: GeometryCoordinate | null


Type Literal ​

{ gdRefAng: string | null; gdRefR: string | null; kind: "polar"; maxAngDeg: number | null; maxR: GeometryCoordinate | null; minAngDeg: number | null; minR: GeometryCoordinate | null; x: GeometryCoordinate | null; y: GeometryCoordinate | null; }

gdRefAng ​

gdRefAng: string | null

gdRefR ​

gdRefR: string | null

kind ​

kind: "polar"

maxAngDeg ​

maxAngDeg: number | null

maxR ​

maxR: GeometryCoordinate | null

minAngDeg ​

minAngDeg: number | null

The angle bounds in degrees (the 60000ths source ÷ 60000), or null.

minR ​

minR: GeometryCoordinate | null

x ​

x: GeometryCoordinate | null

The handle's position (a:pos).

y ​

y: GeometryCoordinate | null