- Preparing search index...
- The search index is not available
Chess Bots
- SplinePoint(__namedParameters: {
onDelete?: (() => void);
onJumpToPoint: (() => void);
onMove: ((x: number, y: number) => void);
onSwitchToCubic?: (() => void);
onSwitchToQuadratic?: (() => void);
point: {
point: { x: number; y: number; };
type: StartPoint;
} | {
controlPoint: { x: number; y: number; };
controlPoint2: { x: number; y: number; };
endPoint: { x: number; y: number; };
type: CubicBezier;
} | {
controlPoint: { x: number; y: number; };
endPoint: { x: number; y: number; };
type: QuadraticBezier;
};
}): Element
-
Parameters
-
__namedParameters: {
onDelete?: (() => void);
onJumpToPoint: (() => void);
onMove: ((x: number, y: number) => void);
onSwitchToCubic?: (() => void);
onSwitchToQuadratic?: (() => void);
point: {
point: { x: number; y: number; };
type: StartPoint;
} | {
controlPoint: { x: number; y: number; };
controlPoint2: { x: number; y: number; };
endPoint: { x: number; y: number; };
type: CubicBezier;
} | {
controlPoint: { x: number; y: number; };
endPoint: { x: number; y: number; };
type: QuadraticBezier;
};
}
-
Optional
onDelete?: (() => void)
-
onJumpToPoint: (() => void)
-
onMove: ((x: number, y: number) => void)
-
- (x: number, y: number): void
-
Returns void
-
Optional
onSwitchToCubic?: (() => void)
-
Optional
onSwitchToQuadratic?: (() => void)
-
point: {
point: { x: number; y: number; };
type: StartPoint;
} | {
controlPoint: { x: number; y: number; };
controlPoint2: { x: number; y: number; };
endPoint: { x: number; y: number; };
type: CubicBezier;
} | {
controlPoint: { x: number; y: number; };
endPoint: { x: number; y: number; };
type: QuadraticBezier;
}
Returns Element