/** * Copyright (c) 2019-present Houfeng * @author Houfeng */ import React from "react"; import { IRangeDrawable } from "./IRangeDrawable"; import { IRangeDrawableOptions } from "./IRangeDrawableOptions"; import { IPoint } from "vector-helper"; import { StageModel } from "../../Stage"; export declare class RangeDrawable implements IRangeDrawable { protected __stage: StageModel; get stage(): StageModel; set stage(value: StageModel); lastPoint: IPoint; startPoint: IPoint; options: IRangeDrawableOptions; get className(): string; get name(): string; get props(): { onTap?: import("mota-touch").ITouchHandler; onTapHold?: import("mota-touch").ITouchHandler; onDoubleTap?: import("mota-touch").ITouchHandler; onSwipe?: import("mota-touch").ITouchHandler; onSwipeUp?: import("mota-touch").ITouchHandler; onSwipeRight?: import("mota-touch").ITouchHandler; onSwipeDown?: import("mota-touch").ITouchHandler; onSwipeLeft?: import("mota-touch").ITouchHandler; onPinchStart?: import("mota-touch").ITouchHandler; onPinch?: import("mota-touch").ITouchHandler; onPinchEnd?: import("mota-touch").ITouchHandler; onPointDown?: import("mota-touch").ITouchHandler; onPointMove?: import("mota-touch").ITouchHandler; onPointUp?: import("mota-touch").ITouchHandler; className?: string; color?: string; height?: string | number; id?: string; lang?: string; max?: string | number; media?: string; method?: string; min?: string | number; name?: string; style?: React.CSSProperties; target?: string; type?: string; width?: string | number; role?: string; tabIndex?: number; crossOrigin?: "" | "anonymous" | "use-credentials"; accentHeight?: string | number; accumulate?: "none" | "sum"; additive?: "sum" | "replace"; alignmentBaseline?: "alphabetic" | "hanging" | "ideographic" | "mathematical" | "auto" | "baseline" | "before-edge" | "text-before-edge" | "middle" | "central" | "after-edge" | "text-after-edge" | "inherit"; allowReorder?: "no" | "yes"; alphabetic?: string | number; amplitude?: string | number; arabicForm?: "initial" | "medial" | "terminal" | "isolated"; ascent?: string | number; attributeName?: string; attributeType?: string; autoReverse?: boolean | "true" | "false"; azimuth?: string | number; baseFrequency?: string | number; baselineShift?: string | number; baseProfile?: string | number; bbox?: string | number; begin?: string | number; bias?: string | number; by?: string | number; calcMode?: string | number; capHeight?: string | number; clip?: string | number; clipPath?: string; clipPathUnits?: string | number; clipRule?: string | number; colorInterpolation?: string | number; colorInterpolationFilters?: "auto" | "inherit" | "sRGB" | "linearRGB"; colorProfile?: string | number; colorRendering?: string | number; contentScriptType?: string | number; contentStyleType?: string | number; cursor?: string | number; cx?: string | number; cy?: string | number; d?: string; decelerate?: string | number; descent?: string | number; diffuseConstant?: string | number; direction?: string | number; display?: string | number; divisor?: string | number; dominantBaseline?: string | number; dur?: string | number; dx?: string | number; dy?: string | number; edgeMode?: string | number; elevation?: string | number; enableBackground?: string | number; end?: string | number; exponent?: string | number; externalResourcesRequired?: boolean | "true" | "false"; fill: string; fillOpacity?: string | number; fillRule?: "inherit" | "nonzero" | "evenodd"; filter?: string; filterRes?: string | number; filterUnits?: string | number; floodColor?: string | number; floodOpacity?: string | number; focusable?: boolean | "auto" | "true" | "false"; fontFamily?: string; fontSize?: string | number; fontSizeAdjust?: string | number; fontStretch?: string | number; fontStyle?: string | number; fontVariant?: string | number; fontWeight?: string | number; format?: string | number; from?: string | number; fx?: string | number; fy?: string | number; g1?: string | number; g2?: string | number; glyphName?: string | number; glyphOrientationHorizontal?: string | number; glyphOrientationVertical?: string | number; glyphRef?: string | number; gradientTransform?: string; gradientUnits?: string; hanging?: string | number; horizAdvX?: string | number; horizOriginX?: string | number; href?: string; ideographic?: string | number; imageRendering?: string | number; in2?: string | number; in?: string; intercept?: string | number; k1?: string | number; k2?: string | number; k3?: string | number; k4?: string | number; k?: string | number; kernelMatrix?: string | number; kernelUnitLength?: string | number; kerning?: string | number; keyPoints?: string | number; keySplines?: string | number; keyTimes?: string | number; lengthAdjust?: string | number; letterSpacing?: string | number; lightingColor?: string | number; limitingConeAngle?: string | number; local?: string | number; markerEnd?: string; markerHeight?: string | number; markerMid?: string; markerStart?: string; markerUnits?: string | number; markerWidth?: string | number; mask?: string; maskContentUnits?: string | number; maskUnits?: string | number; mathematical?: string | number; mode?: string | number; numOctaves?: string | number; offset?: string | number; opacity?: string | number; operator?: string | number; order?: string | number; orient?: string | number; orientation?: string | number; origin?: string | number; overflow?: string | number; overlinePosition?: string | number; overlineThickness?: string | number; paintOrder?: string | number; panose1?: string | number; path?: string; pathLength?: string | number; patternContentUnits?: string; patternTransform?: string | number; patternUnits?: string; pointerEvents?: string | number; points?: string; pointsAtX?: string | number; pointsAtY?: string | number; pointsAtZ?: string | number; preserveAlpha?: boolean | "true" | "false"; preserveAspectRatio?: string; primitiveUnits?: string | number; r?: string | number; radius?: string | number; refX?: string | number; refY?: string | number; renderingIntent?: string | number; repeatCount?: string | number; repeatDur?: string | number; requiredExtensions?: string | number; requiredFeatures?: string | number; restart?: string | number; result?: string; rotate?: string | number; rx?: string | number; ry?: string | number; scale?: string | number; seed?: string | number; shapeRendering?: string | number; slope?: string | number; spacing?: string | number; specularConstant?: string | number; specularExponent?: string | number; speed?: string | number; spreadMethod?: string; startOffset?: string | number; stdDeviation?: string | number; stemh?: string | number; stemv?: string | number; stitchTiles?: string | number; stopColor?: string; stopOpacity?: string | number; strikethroughPosition?: string | number; strikethroughThickness?: string | number; string?: string | number; stroke: string; strokeDasharray: string | number; strokeDashoffset?: string | number; strokeLinecap?: "inherit" | "butt" | "round" | "square"; strokeLinejoin?: "inherit" | "round" | "miter" | "bevel"; strokeMiterlimit?: string | number; strokeOpacity?: string | number; strokeWidth: string | number; surfaceScale?: string | number; systemLanguage?: string | number; tableValues?: string | number; targetX?: string | number; targetY?: string | number; textAnchor?: string; textDecoration?: string | number; textLength?: string | number; textRendering?: string | number; to?: string | number; transform?: string; u1?: string | number; u2?: string | number; underlinePosition?: string | number; underlineThickness?: string | number; unicode?: string | number; unicodeBidi?: string | number; unicodeRange?: string | number; unitsPerEm?: string | number; vAlphabetic?: string | number; values?: string; vectorEffect?: string | number; version?: string; vertAdvY?: string | number; vertOriginX?: string | number; vertOriginY?: string | number; vHanging?: string | number; vIdeographic?: string | number; viewBox?: string; viewTarget?: string | number; visibility?: string | number; vMathematical?: string | number; widths?: string | number; wordSpacing?: string | number; writingMode?: string | number; x1?: string | number; x2?: string | number; x?: string | number; xChannelSelector?: string; xHeight?: string | number; xlinkActuate?: string; xlinkArcrole?: string; xlinkHref?: string; xlinkRole?: string; xlinkShow?: string; xlinkTitle?: string; xlinkType?: string; xmlBase?: string; xmlLang?: string; xmlns?: string; xmlnsXlink?: string; xmlSpace?: string; y1?: string | number; y2?: string | number; y?: string | number; yChannelSelector?: string; z?: string | number; zoomAndPan?: string; 'aria-activedescendant'?: string; 'aria-atomic'?: boolean | "true" | "false"; 'aria-autocomplete'?: "none" | "both" | "inline" | "list"; 'aria-busy'?: boolean | "true" | "false"; 'aria-checked'?: boolean | "true" | "false" | "mixed"; 'aria-colcount'?: number; 'aria-colindex'?: number; 'aria-colspan'?: number; 'aria-controls'?: string; 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date"; 'aria-describedby'?: string; 'aria-details'?: string; 'aria-disabled'?: boolean | "true" | "false"; 'aria-dropeffect'?: "copy" | "link" | "none" | "move" | "execute" | "popup"; 'aria-errormessage'?: string; 'aria-expanded'?: boolean | "true" | "false"; 'aria-flowto'?: string; 'aria-grabbed'?: boolean | "true" | "false"; 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "listbox" | "grid" | "tree"; 'aria-hidden'?: boolean | "true" | "false"; 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling"; 'aria-keyshortcuts'?: string; 'aria-label'?: string; 'aria-labelledby'?: string; 'aria-level'?: number; 'aria-live'?: "off" | "assertive" | "polite"; 'aria-modal'?: boolean | "true" | "false"; 'aria-multiline'?: boolean | "true" | "false"; 'aria-multiselectable'?: boolean | "true" | "false"; 'aria-orientation'?: "horizontal" | "vertical"; 'aria-owns'?: string; 'aria-placeholder'?: string; 'aria-posinset'?: number; 'aria-pressed'?: boolean | "true" | "false" | "mixed"; 'aria-readonly'?: boolean | "true" | "false"; 'aria-relevant'?: "text" | "all" | "additions" | "additions text" | "removals"; 'aria-required'?: boolean | "true" | "false"; 'aria-roledescription'?: string; 'aria-rowcount'?: number; 'aria-rowindex'?: number; 'aria-rowspan'?: number; 'aria-selected'?: boolean | "true" | "false"; 'aria-setsize'?: number; 'aria-sort'?: "none" | "ascending" | "descending" | "other"; 'aria-valuemax'?: number; 'aria-valuemin'?: number; 'aria-valuenow'?: number; 'aria-valuetext'?: string; children?: React.ReactNode; dangerouslySetInnerHTML?: { __html: string; }; onCopy?: (event: React.ClipboardEvent) => void; onCopyCapture?: (event: React.ClipboardEvent) => void; onCut?: (event: React.ClipboardEvent) => void; onCutCapture?: (event: React.ClipboardEvent) => void; onPaste?: (event: React.ClipboardEvent) => void; onPasteCapture?: (event: React.ClipboardEvent) => void; onCompositionEnd?: (event: React.CompositionEvent) => void; onCompositionEndCapture?: (event: React.CompositionEvent) => void; onCompositionStart?: (event: React.CompositionEvent) => void; onCompositionStartCapture?: (event: React.CompositionEvent) => void; onCompositionUpdate?: (event: React.CompositionEvent) => void; onCompositionUpdateCapture?: (event: React.CompositionEvent) => void; onFocus?: (event: React.FocusEvent) => void; onFocusCapture?: (event: React.FocusEvent) => void; onBlur?: (event: React.FocusEvent) => void; onBlurCapture?: (event: React.FocusEvent) => void; onChange?: (event: React.FormEvent) => void; onChangeCapture?: (event: React.FormEvent) => void; onBeforeInput?: (event: React.FormEvent) => void; onBeforeInputCapture?: (event: React.FormEvent) => void; onInput?: (event: React.FormEvent) => void; onInputCapture?: (event: React.FormEvent) => void; onReset?: (event: React.FormEvent) => void; onResetCapture?: (event: React.FormEvent) => void; onSubmit?: (event: React.FormEvent) => void; onSubmitCapture?: (event: React.FormEvent) => void; onInvalid?: (event: React.FormEvent) => void; onInvalidCapture?: (event: React.FormEvent) => void; onLoad?: (event: React.SyntheticEvent) => void; onLoadCapture?: (event: React.SyntheticEvent) => void; onError?: (event: React.SyntheticEvent) => void; onErrorCapture?: (event: React.SyntheticEvent) => void; onKeyDown?: (event: React.KeyboardEvent) => void; onKeyDownCapture?: (event: React.KeyboardEvent) => void; onKeyPress?: (event: React.KeyboardEvent) => void; onKeyPressCapture?: (event: React.KeyboardEvent) => void; onKeyUp?: (event: React.KeyboardEvent) => void; onKeyUpCapture?: (event: React.KeyboardEvent) => void; onAbort?: (event: React.SyntheticEvent) => void; onAbortCapture?: (event: React.SyntheticEvent) => void; onCanPlay?: (event: React.SyntheticEvent) => void; onCanPlayCapture?: (event: React.SyntheticEvent) => void; onCanPlayThrough?: (event: React.SyntheticEvent) => void; onCanPlayThroughCapture?: (event: React.SyntheticEvent) => void; onDurationChange?: (event: React.SyntheticEvent) => void; onDurationChangeCapture?: (event: React.SyntheticEvent) => void; onEmptied?: (event: React.SyntheticEvent) => void; onEmptiedCapture?: (event: React.SyntheticEvent) => void; onEncrypted?: (event: React.SyntheticEvent) => void; onEncryptedCapture?: (event: React.SyntheticEvent) => void; onEnded?: (event: React.SyntheticEvent) => void; onEndedCapture?: (event: React.SyntheticEvent) => void; onLoadedData?: (event: React.SyntheticEvent) => void; onLoadedDataCapture?: (event: React.SyntheticEvent) => void; onLoadedMetadata?: (event: React.SyntheticEvent) => void; onLoadedMetadataCapture?: (event: React.SyntheticEvent) => void; onLoadStart?: (event: React.SyntheticEvent) => void; onLoadStartCapture?: (event: React.SyntheticEvent) => void; onPause?: (event: React.SyntheticEvent) => void; onPauseCapture?: (event: React.SyntheticEvent) => void; onPlay?: (event: React.SyntheticEvent) => void; onPlayCapture?: (event: React.SyntheticEvent) => void; onPlaying?: (event: React.SyntheticEvent) => void; onPlayingCapture?: (event: React.SyntheticEvent) => void; onProgress?: (event: React.SyntheticEvent) => void; onProgressCapture?: (event: React.SyntheticEvent) => void; onRateChange?: (event: React.SyntheticEvent) => void; onRateChangeCapture?: (event: React.SyntheticEvent) => void; onSeeked?: (event: React.SyntheticEvent) => void; onSeekedCapture?: (event: React.SyntheticEvent) => void; onSeeking?: (event: React.SyntheticEvent) => void; onSeekingCapture?: (event: React.SyntheticEvent) => void; onStalled?: (event: React.SyntheticEvent) => void; onStalledCapture?: (event: React.SyntheticEvent) => void; onSuspend?: (event: React.SyntheticEvent) => void; onSuspendCapture?: (event: React.SyntheticEvent) => void; onTimeUpdate?: (event: React.SyntheticEvent) => void; onTimeUpdateCapture?: (event: React.SyntheticEvent) => void; onVolumeChange?: (event: React.SyntheticEvent) => void; onVolumeChangeCapture?: (event: React.SyntheticEvent) => void; onWaiting?: (event: React.SyntheticEvent) => void; onWaitingCapture?: (event: React.SyntheticEvent) => void; onAuxClick?: (event: React.MouseEvent) => void; onAuxClickCapture?: (event: React.MouseEvent) => void; onClick?: (event: React.MouseEvent) => void; onClickCapture?: (event: React.MouseEvent) => void; onContextMenu?: (event: React.MouseEvent) => void; onContextMenuCapture?: (event: React.MouseEvent) => void; onDoubleClick?: (event: React.MouseEvent) => void; onDoubleClickCapture?: (event: React.MouseEvent) => void; onDrag?: (event: React.DragEvent) => void; onDragCapture?: (event: React.DragEvent) => void; onDragEnd?: (event: React.DragEvent) => void; onDragEndCapture?: (event: React.DragEvent) => void; onDragEnter?: (event: React.DragEvent) => void; onDragEnterCapture?: (event: React.DragEvent) => void; onDragExit?: (event: React.DragEvent) => void; onDragExitCapture?: (event: React.DragEvent) => void; onDragLeave?: (event: React.DragEvent) => void; onDragLeaveCapture?: (event: React.DragEvent) => void; onDragOver?: (event: React.DragEvent) => void; onDragOverCapture?: (event: React.DragEvent) => void; onDragStart?: (event: React.DragEvent) => void; onDragStartCapture?: (event: React.DragEvent) => void; onDrop?: (event: React.DragEvent) => void; onDropCapture?: (event: React.DragEvent) => void; onMouseDown?: (event: React.MouseEvent) => void; onMouseDownCapture?: (event: React.MouseEvent) => void; onMouseEnter?: (event: React.MouseEvent) => void; onMouseLeave?: (event: React.MouseEvent) => void; onMouseMove?: (event: React.MouseEvent) => void; onMouseMoveCapture?: (event: React.MouseEvent) => void; onMouseOut?: (event: React.MouseEvent) => void; onMouseOutCapture?: (event: React.MouseEvent) => void; onMouseOver?: (event: React.MouseEvent) => void; onMouseOverCapture?: (event: React.MouseEvent) => void; onMouseUp?: (event: React.MouseEvent) => void; onMouseUpCapture?: (event: React.MouseEvent) => void; onSelect?: (event: React.SyntheticEvent) => void; onSelectCapture?: (event: React.SyntheticEvent) => void; onTouchCancel?: (event: React.TouchEvent) => void; onTouchCancelCapture?: (event: React.TouchEvent) => void; onTouchEnd?: (event: React.TouchEvent) => void; onTouchEndCapture?: (event: React.TouchEvent) => void; onTouchMove?: (event: React.TouchEvent) => void; onTouchMoveCapture?: (event: React.TouchEvent) => void; onTouchStart?: (event: React.TouchEvent) => void; onTouchStartCapture?: (event: React.TouchEvent) => void; onPointerDown?: (event: React.PointerEvent) => void; onPointerDownCapture?: (event: React.PointerEvent) => void; onPointerMove?: (event: React.PointerEvent) => void; onPointerMoveCapture?: (event: React.PointerEvent) => void; onPointerUp?: (event: React.PointerEvent) => void; onPointerUpCapture?: (event: React.PointerEvent) => void; onPointerCancel?: (event: React.PointerEvent) => void; onPointerCancelCapture?: (event: React.PointerEvent) => void; onPointerEnter?: (event: React.PointerEvent) => void; onPointerEnterCapture?: (event: React.PointerEvent) => void; onPointerLeave?: (event: React.PointerEvent) => void; onPointerLeaveCapture?: (event: React.PointerEvent) => void; onPointerOver?: (event: React.PointerEvent) => void; onPointerOverCapture?: (event: React.PointerEvent) => void; onPointerOut?: (event: React.PointerEvent) => void; onPointerOutCapture?: (event: React.PointerEvent) => void; onGotPointerCapture?: (event: React.PointerEvent) => void; onGotPointerCaptureCapture?: (event: React.PointerEvent) => void; onLostPointerCapture?: (event: React.PointerEvent) => void; onLostPointerCaptureCapture?: (event: React.PointerEvent) => void; onScroll?: (event: React.UIEvent) => void; onScrollCapture?: (event: React.UIEvent) => void; onWheel?: (event: React.WheelEvent) => void; onWheelCapture?: (event: React.WheelEvent) => void; onAnimationStart?: (event: React.AnimationEvent) => void; onAnimationStartCapture?: (event: React.AnimationEvent) => void; onAnimationEnd?: (event: React.AnimationEvent) => void; onAnimationEndCapture?: (event: React.AnimationEvent) => void; onAnimationIteration?: (event: React.AnimationEvent) => void; onAnimationIterationCapture?: (event: React.AnimationEvent) => void; onTransitionEnd?: (event: React.TransitionEvent) => void; onTransitionEndCapture?: (event: React.TransitionEvent) => void; ref?: React.LegacyRef; key?: string | number; }; get rect(): import("vector-helper").Rect; constructor(options?: IRangeDrawableOptions); start(point: IPoint): void; move(point: IPoint): void; end(point: IPoint): void; render(): JSX.Element; }