main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
779 bytes
|
Line | |
---|
1 | import { Line, LineConfig } from './Line.js';
|
---|
2 | import { GetSet } from '../types.js';
|
---|
3 | import { Context } from '../Context.js';
|
---|
4 | export interface ArrowConfig extends LineConfig {
|
---|
5 | points: number[];
|
---|
6 | tension?: number;
|
---|
7 | closed?: boolean;
|
---|
8 | pointerLength?: number;
|
---|
9 | pointerWidth?: number;
|
---|
10 | pointerAtBeginning?: boolean;
|
---|
11 | pointerAtEnding?: boolean;
|
---|
12 | }
|
---|
13 | export declare class Arrow extends Line<ArrowConfig> {
|
---|
14 | _sceneFunc(ctx: Context): void;
|
---|
15 | __fillStroke(ctx: Context): void;
|
---|
16 | getSelfRect(): {
|
---|
17 | x: number;
|
---|
18 | y: number;
|
---|
19 | width: number;
|
---|
20 | height: number;
|
---|
21 | };
|
---|
22 | pointerLength: GetSet<number, this>;
|
---|
23 | pointerWidth: GetSet<number, this>;
|
---|
24 | pointerAtEnding: GetSet<boolean, this>;
|
---|
25 | pointerAtBeginning: GetSet<boolean, this>;
|
---|
26 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.