API
API 文档 通过 TypeDoc 自动生成,用于帮助用户了解内部数据结构,可定位到源代码学习。
Classes
- Animate
- AnimateEvent
- AnimateList
- Arrow
- ArrowData
- Editor
- EditBox
- EditPoint
- EditSelect
- SelectArea
- Stroker
- EditorEvent
- EditorGroupEvent
- EditorMoveEvent
- EditorRotateEvent
- EditorScaleEvent
- EditorSkewEvent
- InnerEditorEvent
- EditTool
- InnerEditor
- LineEditTool
- Finder
- Flow
- HTMLText
- HTMLTextData
- Robot
- RobotData
- ScrollBar
- TextEditor
- Transformer
- LeaferCanvas
- CanvasManager
- LeaferCanvasBase
- Debug
- LeafData
- LeafLayout
- Branch
- Leaf
- ChildEvent
- Event
- Eventer
- ImageEvent
- LayoutEvent
- LeaferEvent
- PropertyEvent
- RenderEvent
- ResizeEvent
- WatchEvent
- LeaferImage
- LeafLevelList
- LeafList
- AutoBounds
- Bounds
- Matrix
- Point
- Layouter
- Renderer
- Picker
- Selector
- Watcher
- PathCreator
- TaskItem
- TaskProcessor
- App
- BoxData
- CanvasData
- EllipseData
- FrameData
- GroupData
- ImageData
- LeaferData
- LineData
- PathData
- PenData
- PolygonData
- RectData
- StarData
- TextData
- UIData
- Box
- Canvas
- Ellipse
- Frame
- Group
- Image
- Leafer
- Line
- Path
- Pen
- Polygon
- Rect
- Star
- Text
- UI
- DragEvent
- DropEvent
- KeyEvent
- MoveEvent
- PointerEvent
- RotateEvent
- SwipeEvent
- UIEvent
- ZoomEvent
- HitCanvasManager
- Interaction
- Cursor
- Dragger
- InteractionBase
Interfaces
- IEditBox
- IEditSelect
- IEditor
- IEditTool
- IInnerEditor
- IEditorEvent
- IInnerEditorEvent
- IEditorGroupEvent
- IEditorMoveEvent
- IEditorScaleEvent
- IEditorRotateEvent
- IEditorSkewEvent
- ISelectArea
- ISimulateElement
- IStroker
- IFlowWrapDrawData
- IFlowDrawData
- IGapBoundsData
- IFlowAlignToAxisAlignMap
- IFlowParseData
- IHTMLTextData
- IHTMLTextInputData
- IScrollBarConfig
- IScrollBar
- IAnimateOptions
- IAnimateEasingFunction
- ICustomEasingFunction
- ICubicBezierEasing
- IStepsEasing
- IAnimateEvents
- IAnimateEventFunction
- IAppBase
- ILeaferConfig
- ILeaferAttrData
- ILeaferBase
- ILeaferTypeCreator
- ILeaferTypeFunction
- ILeaferTypeList
- ICreator
- IUICreator
- IPath2D
- ICanvasContext2D
- ITextMetrics
- ICanvasManager
- IHitCanvasManager
- ILeaferCanvasConfig
- ICanvasStrokeOptions
- ICanvasCacheOptions
- ICanvasAttr
- ILeaferCanvas
- IHitCanvas
- IBlobFunction
- ISkiaCanvas
- ISkiaCanvasExportConfig
- ISkiaNAPICanvas
- IControl
- IObject
- IBooleanMap
- INumberMap
- IStringMap
- IFunctionMap
- IPointDataMap
- IDataTypeHandle
- IDataProcessor
- ILeafDataOptions
- ILeafData
- ILeafMap
- ILeafArrayMap
- ILeafList
- ILeafLevelList
- IBranch
- ICachedLeaf
- IPointGap
- IFlowAxisAlign
- IRangeSize
- IUnitData
- IPercentData
- IConstraint
- IImageCursor
- ILeafAttrData
- ILeafInputData
- ILeafComputedData
- ILeaf
- ILeafAttrDescriptorFn
- IZoomView
- IBranchRender
- ILeafBounds
- ILeafDataProxy
- ILeafEventer
- ILeafHit
- ILeafMatrix
- ILeafRender
- IEvent
- IEventTarget
- ILeaferEvent
- IRenderEvent
- IAnimateEvent
- IChildEvent
- IResizeEvent
- IResizeEventListener
- IUpdateEvent
- IPropertyEvent
- ILayoutEvent
- IWatchEvent
- IMultiTouchData
- IKeepTouchData
- IEventListenerOptions
- IEventListenerItem
- IEventListenerMap
- IEventMap
- IEventListenerId
- IEventer
- IUIEvent
- IPointerEvent
- IDragEvent
- IDropEvent
- IRotateEvent
- IZoomEvent
- IMoveEvent
- IWheelEvent
- ISwipeEvent
- IKeyEvent
- IImageEvent
- IExportOptions
- IJSONOptions
- IExportResult
- IExportResultFunction
- IExportOnCanvasFunction
- IFunction
- INumberFunction
- IStringFunction
- IObjectFunction
- IPointDataFunction
- IAttrDecorator
- IImageManager
- ILeaferImageConfig
- ILeaferImageOnLoaded
- ILeaferImageOnError
- ILeaferImageCacheCanvas
- ILeaferImagePatternPaint
- ILeaferImage
- ICursorTypeMap
- ICursorRotate
- ICursorRotateMap
- IInteraction
- IInteractionCanvas
- IInteractionConfig
- IZoomConfig
- IMoveConfig
- IWheelConfig
- IPointerConfig
- ITouchConfig
- IMultiTouchConfig
- ICursorConfig
- ITransformer
- ILeafLayout
- ILayoutChangedData
- ILayoutBlockData
- IPartLayoutConfig
- ILayouterConfig
- ILayouter
- IPointData
- IUnitPointData
- IFromToData
- IRotationPointData
- IScrollPointData
- IClientPointData
- IPoint
- IRadiusPointData
- ISizeData
- ISize
- IScreenSizeData
- IBoundsData
- IOffsetBoundsData
- IBoundsDataFn
- IBounds
- ITwoPointBoundsData
- IAutoBoxData
- IAutoBoundsData
- IAutoBounds
- IMatrixData
- IScaleData
- IScaleRotationData
- ISkewData
- ILayoutData
- ILayoutBoundsData
- IMatrix
- IMatrixWithBoundsData
- IMatrixWithScaleData
- IMatrixWithOptionScaleData
- IMatrixWithBoundsScaleData
- IMatrixWithLayoutData
- MoveToCommandObject
- LineToCommandObject
- BezierCurveToCommandObject
- QuadraticCurveToCommandObject
- IMotionPathData
- IPathDrawer
- IPathCreator
- IPlatform
- IMiniappSelect
- IMiniappSizeView
- IMiniapp
- IPlugin
- IRenderOptions
- IRendererConfig
- IRenderer
- IPickResult
- IPickOptions
- IPickBottom
- ISelectorConfig
- IFindCondition
- IFindMethod
- ISelectorProxy
- ISelector
- IPicker
- IFinder
- ITaskProcessorConfig
- ITaskProcessor
- ITaskItem
- ITaskOptions
- IWatchEventData
- IWatcherConfig
- IWatcher
- IStyleAnimation
- IKeyframesAnimation
- IAnimateKeyframe
- IComputedKeyframe
- IAnimate
- IAnimateList
- ICachedShape
- IStrokeAttrData
- IStrokeInputData
- IStrokeComputedData
- ITextStyleAttrData
- ITextStyleInputData
- ITextStyleComputedData
- IEffectAttrData
- IEffectInputData
- IEffectComputedData
- ILine
- ILineData
- ILineInputData
- IArrow
- IArrowData
- IArrowInputData
- IFlow
- IFlowData
- IFlowInputData
- IVideo
- IVideoData
- IVideoInputData
- IGIF
- IGIFData
- IGIFInputData
- IRobot
- IRobotActions
- IRobotAnimation
- IRobotKeyframe
- IRobotComputedKeyframe
- IRobotData
- IRobotInputData
- IRect
- IRectData
- IRectInputData
- IEllipse
- IEllipseData
- IEllipseInputData
- IPolygon
- IPolygonData
- IPolygonInputData
- IStar
- IStarData
- IStarInputData
- IPath
- IPathData
- IPathInputData
- IPen
- IPenData
- IPenInputData
- IText
- ITextData
- ITextInputData
- ITextRowData
- ITextWordData
- ITextCharData
- ITextDrawData
- IImage
- IImageData
- IImageInputData
- ICanvas
- ICanvasData
- ICanvasInputData
- ILeaferData
- ILeaferInputData
- IAppData
- IAppInputData
- IFrame
- IFrameData
- IFrameInputData
- IBox
- IBoxData
- IBoxInputData
- IGroup
- IGroupData
- IGroupInputData
- IUI
- IStateStyle
- IStates
- IFindUIMethod
- IUIData
- IUIBaseInputData
- IUIInputData
- IUIJSONData
- IApp
- IAppConfig
- ILeafer
- IEditorBase
- IEditorConfig
- IEditPointInputData
- IEditPoint
- IEditBoxBase
- IEditorConfigFunction
- IEditToolFunction
- IColorConvertModule
- IEffectModule
- IExportModule
- IPaintModule
- IPaintImageModule
- IPaintGradientModule
- IPathArrowModule
- IStateModule
- ITextConvertModule
- ITransitionModule
- ITransitionMap
- ITransitionFunction
- ILeafPaint
- ILeafPaintPatternData
- ILeafStrokePaint
- ILeafShadowEffect
- IPaintBase
- ISolidPaint
- IRGB
- IRGBA
- IGradientPaint
- IColorStop
- IImagePaint
- IImageFilters
- IPathDataArrowMap
- IPathDataArrow
- IPathDataArrowOffset
- IVectorPath
- IShadowEffect
- IBlurEffect
- IGrayscaleEffect
Type Aliases
- IScrollBarTheme
- ITransition
- IAnimateEasing
- IAnimateEasingName
- IAnimateEnding
- ILeaferType
- IZoomType
- IWindingRule
- ICanvasPattern
- ICanvasContext2DSettings
- IHitCanvasConfig
- ILeaferCanvasView
- IBlob
- ICanvasType
- INumber
- IBoolean
- IString
- IValue
- ITimer
- IPathString
- IFourNumber
- ILeafListItemCallback
- ISide
- IAxis
- IAxisReverse
- IFlowType
- IFlowBoxType
- IGap
- IAxisAlign
- IFlowWrap
- IAutoSize
- IConstraintType
- IHitType
- IMaskType
- IEraserType
- IBlendMode
- IEditSize
- IDirection
- IDirection4
- IAlign
- IBaseLineAlign
- IFlowAlign
- IAround
- ICursorType
- IStateStyleType
- ILeafAttrDescriptor
- IBranchRenderModule
- ILeafBoundsModule
- ILeafDataProxyModule
- ILeafEventerModule
- ILeafHitModule
- ILeafMatrixModule
- ILeafRenderModule
- IEventListener
- IEventOption
- InnerId
- PointerType
- IExportImageType
- IExportFileType
- ILocationType
- IBoundsType
- ILayoutAttr
- MCommandData
- HCommandData
- VCommandData
- LCommandData
- CCommandData
- SCommandData
- QCommandData
- TCommandData
- ZCommandData
- ACommandData
- RectCommandData
- RoundRectCommandData
- EllipseCommandData
- ArcCommandData
- ArcToCommandData
- CanvasPathCommand
- IPathCommandData
- IPathCommandObject
- IAnswer
- IAnimation
- IAnimateType
- IKeyframe
- IKeyframeId
- IRobotActionName
- IStateName
- IUITag
- IEditPointType
- IUIBoundsModule
- IUIHitModule
- IUIRenderModule
- IRectRenderModule
- IImageRenderModule
- ITextRenderModule
- IGroupRenderModule
- IFrameRenderModule
- ILeafPaintColor
- ILeafFill
- IPercent
- IColorString
- ICornerRadiusString
- IStrokeWidthString
- IDashPatternString
- IPaintString
- IShadowString
- IPaint
- IFill
- IStroke
- IPaintAttr
- IPaintType
- IGradientType
- IColor
- IImagePaintMode
- IRepeat
- IStrokeAlign
- IStrokeCap
- IStrokeJoin
- IArrowType
- ITextAlign
- IVerticalAlign
- ITextCase
- IFontWeight
- IFontWeightNumer
- IFontWeightString
- ITextDecoration
- ITextWrap
- IWritingMode
- IEffect
- IOverflow
Variables
- AnimateEasing
- PathArrowModule
- PathMatrixHelper
- EditDataHelper
- EditSelectHelper
- EditorHelper
- EditToolCreator
- HighBezierHelper
- HighCurveHelper
- PathScaler
- LeaferTypeCreator
- MultiTouchHelper
- WheelEventHelper
- canvasSizeAttrs
- version
- Plugin
- Run
- DataHelper
- emptyData
- BranchRender
- LeafBounds
- LeafDataProxy
- LeafEventer
- LeafMatrix
- LeafRender
- BranchHelper
- LeafBoundsHelper
- LeafHelper
- WaitHelper
- FileHelper
- ImageManager
- AlignHelper
- AroundHelper
- tempBounds
- BoundsHelper
- IncrementId
- MathHelper
- OneRadian
- PI2
- PI_2
- tempMatrix
- MatrixHelper
- tempPoint
- PointHelper
- StringNumberMap
- TwoPointBoundsHelper
- BezierHelper
- EllipseHelper
- PathBounds
- PathCommandDataHelper
- PathCommandMap
- NeedConvertToCanvasCommandMap
- PathNumberCommandMap
- PathNumberCommandLengthMap
- PathConvert
- PathCorner
- PathDrawer
- PathHelper
- RectHelper
- pen
- Platform
- Creator
- EventCreator
- UICreator
- UIBounds
- RectRender
- UIRender
- MyImage
- MyDragEvent
- Keyboard
- PointerButton
- MyPointerEvent
- TextConvert
- ColorConvert
- UnitConvert
- PathArrow
- Paint
- PaintImage
- PaintGradient
- Effect
- Export
- State
- Transition
- InteractionHelper
Functions
- arrowType
- registerEditTool
- registerInnerEditor
- motionPathType
- scaleResize
- scaleResizeFontSize
- scaleResizePath
- scaleResizePoints
- scaleResizeGroup
- stateType
- stateStyleType
- addViewport
- addViewportConfig
- canvasPatch
- registerUI
- registerUIEvent
- decorateLeafAttr
- attr
- defineLeafAttr
- dataType
- positionType
- autoLayoutType
- scaleType
- rotationType
- boundsType
- naturalBoundsType
- doBoundsType
- pathInputType
- pathType
- affectStrokeBoundsType
- doStrokeType
- strokeType
- affectRenderBoundsType
- surfaceType
- opacityType
- visibleType
- sortType
- maskType
- eraserType
- hitType
- cursorType
- dataProcessor
- layoutProcessor
- defineDataProcessor
- defineKey
- getDescriptor
- rewrite
- rewriteAble
- useModule
- isNull
- getPointData
- getBoundsData
- useCanvas
- effectType
- resizeType
- zoomLayerType