HaxeAPI
  • Version 3.4.7
    • 3.4.7
    • 4.0.5
    • 4.1.3
    • 4.2.5
    • 4.3.7
    • Development
  • Download Haxe
  • Learn Haxe
    • Introduction
    • Manual
    • Code Cookbook
    • API Documentation
    • Videos
    • Try Haxe online
    • Haxelib
  • Connect
    • Github
    • Bug reports
    • Stack Overflow
    • Forums
    • Discord
    • Gitter
    • Blog
    • Facebook
    • #haxe
    • @haxelang
    • @haxe_org
    • Contact
View source

class GroupElement

package flash.text.engine

extends ContentElement

@:final

Available on flash

Constructor

new(?elements:Vector<ContentElement>, ?elementFormat:ElementFormat, ?eventMirror:EventDispatcher, ?textRotation:TextRotation)

Variables

read onlyelementCount:Int

Methods

getElementAt(index:Int):ContentElement

getElementAtCharIndex(charIndex:Int):ContentElement

getElementIndex(element:ContentElement):Int

groupElements(beginIndex:Int, endIndex:Int):GroupElement

mergeTextElements(beginIndex:Int, endIndex:Int):TextElement

replaceElements(beginIndex:Int, endIndex:Int, newElements:Vector<ContentElement>):Vector<ContentElement>

setElements(value:Vector<ContentElement>):Void

splitTextElement(elementIndex:Int, splitIndex:Int):TextElement

ungroupElements(groupIndex:Int):Void

Inherited Variables

Defined by ContentElement

elementFormat:ElementFormat

eventMirror:EventDispatcher

read onlygroupElement:GroupElement

read onlyrawText:String

read onlytext:String

read onlytextBlock:TextBlock

read onlytextBlockBeginIndex:Int

textRotation:TextRotation

userData:Dynamic

Inherited Methods

This documentation is generated for version 3.4.7

© 2025  Haxe Foundation | Contribute to Haxe