BidiRun.java
755 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.agl.text;
public class BidiRun {
int start;
int limit;
int insertRemove;
byte level;
BidiRun() {
this(0, 0, 0);
}
BidiRun(int start, int limit, byte embeddingLevel) {
this.start = start;
this.limit = limit;
this.level = embeddingLevel;
}
void copyFrom(BidiRun run) {
this.start = run.start;
this.limit = run.limit;
this.level = run.level;
this.insertRemove = run.insertRemove;
}
public boolean isEvenRun() {
return (this.level & 1) == 0;
}
public String toString() {
return new String("BidiRun " + this.start + " - " + this.limit + " @ " + this.level);
}
}