public class PhantomElement extends MathElement
MathElement.TypeEnum| Constructor and Description |
|---|
PhantomElement() |
| Modifier and Type | Method and Description |
|---|---|
PhantomElement |
base(MathElement base) |
boolean |
equals(Object o) |
MathElement |
getBase()
Base element
|
int |
hashCode() |
Boolean |
isShow()
true if the base element is displayed.
|
Boolean |
isTransp()
true if operators and symbols inside the phantom still affect mathematical spacing around the phantom (as if visible).
|
Boolean |
isZeroAsc()
true if the the ascent (height above baseline) of the base element should be treated as zero.
|
Boolean |
isZeroDesc()
true if the the descent (depth below baseline) of the base element should be treated as zero.
|
Boolean |
isZeroWidth()
true if the the width of the base element should be treated as zero.
|
void |
setBase(MathElement base) |
void |
setShow(Boolean show) |
void |
setTransp(Boolean transp) |
void |
setZeroAsc(Boolean zeroAsc) |
void |
setZeroDesc(Boolean zeroDesc) |
void |
setZeroWidth(Boolean zeroWidth) |
PhantomElement |
show(Boolean show) |
String |
toString() |
PhantomElement |
transp(Boolean transp) |
PhantomElement |
zeroAsc(Boolean zeroAsc) |
PhantomElement |
zeroDesc(Boolean zeroDesc) |
PhantomElement |
zeroWidth(Boolean zeroWidth) |
getType, setTypepublic PhantomElement base(MathElement base)
public MathElement getBase()
public void setBase(MathElement base)
public PhantomElement show(Boolean show)
public Boolean isShow()
public void setShow(Boolean show)
public PhantomElement zeroWidth(Boolean zeroWidth)
public Boolean isZeroWidth()
public void setZeroWidth(Boolean zeroWidth)
public PhantomElement zeroAsc(Boolean zeroAsc)
public Boolean isZeroAsc()
public void setZeroAsc(Boolean zeroAsc)
public PhantomElement zeroDesc(Boolean zeroDesc)
public Boolean isZeroDesc()
public void setZeroDesc(Boolean zeroDesc)
public PhantomElement transp(Boolean transp)
public Boolean isTransp()
public void setTransp(Boolean transp)
public boolean equals(Object o)
equals in class MathElementpublic int hashCode()
hashCode in class MathElementpublic String toString()
toString in class MathElementCopyright © 2026. All rights reserved.