ContentEditingTextBlockMoveAndResizeEdit

class ContentEditingTextBlockMoveAndResizeEdit(pageIndex: Int, textBlockId: UUID, oldAnchor: Vec2? = null, newAnchor: Vec2? = null, oldSize: Numeric? = null, newSize: Numeric? = null) : ContentEditingEdit

Content Editing undo-edit object for textblock move/resize operations (mainly from drag & drop)

Constructors

Link copied to clipboard
constructor(pageIndex: Int, textBlockId: UUID, oldAnchor: Vec2? = null, newAnchor: Vec2? = null, oldSize: Numeric? = null, newSize: Numeric? = null)

Functions

Link copied to clipboard
fun getAnchor(forUndo: Boolean): Vec2?
Link copied to clipboard
fun getSize(forUndo: Boolean): Float?