Back to Website
Show / Hide Table of Contents

Interface ITextEditorRenderer

Package: @aurigma/design-atoms-text

Methods

clearCursor()

Declaration
clearCursor(): void;
Returns
Type Description
void

drawCursor(callback)

Declaration
drawCursor(callback: (context: CanvasRenderingContext2D) => void): void;
Parameters
Type Name Description
(context: CanvasRenderingContext2D) => void callback
Returns
Type Description
void

drawDesign()

Declaration
drawDesign(): void;
Returns
Type Description
void

drawSelection(textHandler, selection)

Declaration
drawSelection(textHandler: TextWhizz.TextHandler, selection: TextWhizz.TextRange): void;
Parameters
Type Name Description
TextWhizz.TextHandler textHandler
TextWhizz.TextRange selection
Returns
Type Description
void

drawText(textHandler)

Declaration
drawText(textHandler: TextWhizz.TextHandler): void;
Parameters
Type Name Description
TextWhizz.TextHandler textHandler
Returns
Type Description
void
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2024 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback