| Modifier and Type | Field and Description |
|---|---|
| private static int | |
| private boolean | |
| private static double | |
| private static int | |
| private PGFont | |
| private int | |
| private FontStrike | |
| pack-priv static final BaseTransform | |
| private FontStrike | |
| private float | |
| private float | |
| private GlyphList[] | |
| private int | |
| private Object | |
| private int | |
| private static int | |
| private double[] | |
| private boolean | |
| private static int | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected BaseBounds | computePadding(BaseBounds region)
Overrides com. Provide some lucky padding in the case that we are rendering LCD text since there might be some pixels that lie outside the normally computed content bounds. |
| public Shape | |
| private FontStrike | |
| private boolean | |
| protected void | renderContent2D(Graphics
The graphics object to render with g, boolean printing)Overrides com. Renders the content as though it is 2D in all cases. |
| protected void | |
| private void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| DECORATION | back to summary |
|---|---|
| private static int DECORATION | |
| drawingEffect | back to summary |
|---|---|
| private boolean drawingEffect | |
| EPSILON | back to summary |
|---|---|
| private static double EPSILON | |
| FILL | back to summary |
|---|---|
| private static int FILL | |
| font | back to summary |
|---|---|
| private PGFont font | |
| fontSmoothingType | back to summary |
|---|---|
| private int fontSmoothingType | |
| fontStrike | back to summary |
|---|---|
| private FontStrike fontStrike | |
| IDENT | back to summary |
|---|---|
| pack-priv static final BaseTransform IDENT | |
| identityStrike | back to summary |
|---|---|
| private FontStrike identityStrike | |
| layoutX | back to summary |
|---|---|
| private float layoutX | |
| layoutY | back to summary |
|---|---|
| private float layoutY | |
| runs | back to summary |
|---|---|
| private GlyphList[] runs | |
| selectionEnd | back to summary |
|---|---|
| private int selectionEnd | |
| selectionPaint | back to summary |
|---|---|
| private Object selectionPaint | |
| selectionStart | back to summary |
|---|---|
| private int selectionStart | |
| SHAPE_FILL | back to summary |
|---|---|
| private static int SHAPE_FILL | |
| strikeMat | back to summary |
|---|---|
| private double[] strikeMat | |
| strikethrough | back to summary |
|---|---|
| private boolean strikethrough | |
| TEXT | back to summary |
|---|---|
| private static int TEXT | |
| underline | back to summary |
|---|---|
| private boolean underline | |
| NGText | back to summary |
|---|---|
| public NGText() | |
| computePadding | back to summary |
|---|---|
| protected BaseBounds computePadding(BaseBounds region) Overrides com. Provide some lucky padding in the case that we are rendering LCD text since there might be some pixels that lie outside the normally computed content bounds.
| |
| getShape | back to summary |
|---|---|
| public Shape getShape() Implements abstract com.
| |
| getStrike | back to summary |
|---|---|
| private FontStrike getStrike(BaseTransform xform) | |
| isEmojiRun | back to summary |
|---|---|
| private boolean isEmojiRun(TextRun run, FontStrike strike) | |
| renderContent2D | back to summary |
|---|---|
| protected void renderContent2D(Graphics g, boolean printing) Overrides com. Doc from com. Renders the content as though it is 2D in all cases. In the case that a 3D transform is in use at the time an NGShape is rendered, it will render as 2D into a texture and then transform in 3D that texture. | |
| renderEffect | back to summary |
|---|---|
| protected void renderEffect(Graphics g) Overrides com.
| |
| renderText | back to summary |
|---|---|
| private void renderText(Graphics g, FontStrike strike, BaseBounds clipBds, Color selectionColor, int op) | |
| setFont | back to summary |
|---|---|
| public void setFont(Object font) | |
| setFontSmoothingType | back to summary |
|---|---|
| public void setFontSmoothingType(int fontSmoothingType) | |
| setGlyphs | back to summary |
|---|---|
| public void setGlyphs(Object[] glyphs) | |
| setLayoutLocation | back to summary |
|---|---|
| public void setLayoutLocation(float x, float y) | |
| setSelection | back to summary |
|---|---|
| public void setSelection(int start, int end, Object color) | |
| setStrikethrough | back to summary |
|---|---|
| public void setStrikethrough(boolean strikethrough) | |
| setUnderline | back to summary |
|---|---|
| public void setUnderline(boolean underline) | |