avm2: Stub `flash.text.engine.TextLine.getAtomIndexAtCharIndex`

This commit is contained in:
cmdocmd 2024-01-22 01:09:39 +04:00 committed by GitHub
parent 8c6f8231d6
commit c6331113ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -103,6 +103,11 @@ package flash.text.engine {
return -1;
}
public function getAtomIndexAtCharIndex(charIndex:int):int {
stub_method("flash.text.engine.TextLine", "getAtomIndexAtCharIndex");
return -1;
}
public function getAtomBounds(index:int):Rectangle {
stub_method("flash.text.engine.TextLine", "getAtomBounds");
return new Rectangle(0, 0, 0, 0);