| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- import { ILocation } from '../interfaces';
- import { CircleCrosshairCfg, CircleLocationCfg, Point } from '../types';
- import CrosshairBase from './base';
- declare class LineCrosshair extends CrosshairBase<CircleCrosshairCfg> implements ILocation<CircleLocationCfg> {
- getDefaultCfg(): {
- type: string;
- locationType: string;
- center: any;
- radius: number;
- startAngle: number;
- endAngle: number;
- name: string;
- line: {};
- text: any;
- textBackground: {};
- capture: boolean;
- defaultCfg: {
- line: {
- style: {
- lineWidth: number;
- stroke: string;
- };
- };
- text: {
- position: string;
- offset: number;
- autoRotate: boolean;
- content: any;
- style: {
- fill: string;
- textAlign: string;
- textBaseline: string;
- fontFamily: string;
- };
- };
- textBackground: {
- padding: number;
- style: {
- stroke: string;
- };
- };
- };
- container: any;
- shapesMap: {};
- group: any;
- isRegister: boolean;
- isUpdating: boolean;
- isInit: boolean;
- id: string;
- offsetX: number;
- offsetY: number;
- animate: boolean;
- updateAutoRender: boolean;
- animateOption: {
- appear: any;
- update: {
- duration: number;
- easing: string;
- };
- enter: {
- duration: number;
- easing: string;
- };
- leave: {
- duration: number;
- easing: string;
- };
- };
- events: any;
- visible: boolean;
- };
- protected getRotateAngle(): number;
- protected getTextPoint(): Point;
- protected getLinePath(): any[];
- }
- export default LineCrosshair;
|