| Modifier and Type | Field and Description |
|---|---|
| private AffineTransform | |
| private int[] | |
| private CoreMetrics | |
| private Decoration | |
| private GraphicAttribute | |
| public static final float | |
| private float | |
| private int | |
| private byte[] | |
| private Rectangle2D |
| Access | Constructor and Description |
|---|---|
| public | GraphicComponent(GraphicAttribute graphic, Decoration decorator, int[] charsLtoV, byte[] levels, int start, int limit, AffineTransform baseTx)
Create a new GraphicComponent. |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public TextLineComponent | applyJustificationDeltas(float[] deltas, int deltaStart, boolean[] flags)
Implements sun. Apply deltas to the data in this component, starting at offset deltaStart, and return the new component. |
| public boolean | |
| public static CoreMetrics | |
| public void | |
| public float | |
| public float | |
| public AffineTransform | |
| public float | |
| public Rectangle2D | |
| public float | |
| public float | |
| public CoreMetrics | |
| public float | |
| public Rectangle2D | |
| public void | getJustificationInfos(GlyphJustificationInfo[] infos, int infoStart, int charStart, int charLimit)
Implements sun. Return GlyphJustificationInfo objects for the characters between charStart and charLimit, starting at offset infoStart. |
| public int | |
| public Rectangle2D | |
| public int | |
| public int | getNumJustificationInfos()
Implements sun. Return the number of justification records this uses. |
| public Shape | |
| public Rectangle | getPixelBounds(FontRenderContext frc, float x, float y)
Implements sun.
|
| public TextLineComponent | getSubset(int start, int limit, int dir)
Implements sun. Return a TextLineComponent for the characters in the range start, limit. |
| public Rectangle2D | |
| public void | |
| public Rectangle2D | |
| public Shape | |
| public Rectangle2D | |
| private void | initLocalOrdering(int[] charsLtoV, byte[] levels, int start, int limit)
Initialize graphicCount, also charsLtoV and levels arrays. |
| public boolean | |
| public String |
| baseTx | back to summary |
|---|---|
| private AffineTransform baseTx | |
| charsLtoV | back to summary |
|---|---|
| private int[] charsLtoV | |
| cm | back to summary |
|---|---|
| private CoreMetrics cm | |
| decorator | back to summary |
|---|---|
| private Decoration decorator | |
| graphic | back to summary |
|---|---|
| private GraphicAttribute graphic | |
| GRAPHIC_LEADING | back to summary |
|---|---|
| public static final float GRAPHIC_LEADING | |
| graphicAdvance | back to summary |
|---|---|
| private float graphicAdvance | |
| graphicCount | back to summary |
|---|---|
| private int graphicCount | |
| levels | back to summary |
|---|---|
| private byte[] levels | |
| visualBounds | back to summary |
|---|---|
| private Rectangle2D visualBounds | |
| GraphicComponent | back to summary |
|---|---|
| public GraphicComponent(GraphicAttribute graphic, Decoration decorator, int[] charsLtoV, byte[] levels, int start, int limit, AffineTransform baseTx) Create a new GraphicComponent. start and limit are indices into charLtoV and levels. charsLtoV and levels may be adopted. | |
| GraphicComponent | back to summary |
|---|---|
| private GraphicComponent(GraphicComponent parent, int start, int limit, int dir) | |
| applyJustificationDeltas | back to summary |
|---|---|
| public TextLineComponent applyJustificationDeltas(float[] deltas, int deltaStart, boolean[] flags) Implements sun. Apply deltas to the data in this component, starting at offset deltaStart, and return the new component. There are two floats for each justification info, for a total of 2 * getNumJustificationInfos. The first delta is the left adjustment, the second is the right adjustment. If flags[0] is true on entry, rejustification is allowed. If the new component requires rejustification (ligatures were formed or split), flags[0] will be set on exit. | |
| caretAtOffsetIsValid | back to summary |
|---|---|
| public boolean caretAtOffsetIsValid(int index) Implements sun. | |
| createCoreMetrics | back to summary |
|---|---|
| public static CoreMetrics createCoreMetrics(GraphicAttribute graphic) | |
| draw | back to summary |
|---|---|
| public void draw(Graphics2D g2d, float x, float y) Implements sun. | |
| getAdvance | back to summary |
|---|---|
| public float getAdvance() Implements sun. | |
| getAdvanceBetween | back to summary |
|---|---|
| public float getAdvanceBetween(int start, int limit) Implements sun. | |
| getBaselineTransform | back to summary |
|---|---|
| public AffineTransform getBaselineTransform() Implements sun. | |
| getCharAdvance | back to summary |
|---|---|
| public float getCharAdvance(int index) Implements sun. | |
| getCharVisualBounds | back to summary |
|---|---|
| public Rectangle2D getCharVisualBounds(int index) Implements sun. | |
| getCharX | back to summary |
|---|---|
| public float getCharX(int index) Implements sun. | |
| getCharY | back to summary |
|---|---|
| public float getCharY(int index) Implements sun. | |
| getCoreMetrics | back to summary |
|---|---|
| public CoreMetrics getCoreMetrics() Implements sun. | |
| getItalicAngle | back to summary |
|---|---|
| public float getItalicAngle() | |
| getItalicBounds | back to summary |
|---|---|
| public Rectangle2D getItalicBounds() Implements sun. | |
| getJustificationInfos | back to summary |
|---|---|
| public void getJustificationInfos(GlyphJustificationInfo[] infos, int infoStart, int charStart, int charLimit) Implements sun. Return GlyphJustificationInfo objects for the characters between charStart and charLimit, starting at offset infoStart. Infos will be in visual order. All positions between infoStart and getNumJustificationInfos will be set. If a position corresponds to a character outside the provided range, it is set to null. | |
| getLineBreakIndex | back to summary |
|---|---|
| public int getLineBreakIndex(int start, float width) Implements sun. | |
| getLogicalBounds | back to summary |
|---|---|
| public Rectangle2D getLogicalBounds() Implements sun. | |
| getNumCharacters | back to summary |
|---|---|
| public int getNumCharacters() Implements sun. | |
| getNumJustificationInfos | back to summary |
|---|---|
| public int getNumJustificationInfos() Implements sun. Return the number of justification records this uses. | |
| getOutline | back to summary |
|---|---|
| public Shape getOutline(float x, float y) Implements sun. | |
| getPixelBounds | back to summary |
|---|---|
| public Rectangle getPixelBounds(FontRenderContext frc, float x, float y) Implements sun. | |
| getSubset | back to summary |
|---|---|
| public TextLineComponent getSubset(int start, int limit, int dir) Implements sun. Doc from sun. Return a TextLineComponent for the characters in the range start, limit. The range is relative to this TextLineComponent (ie, the first character is at 0). | |
| getVisualBounds | back to summary |
|---|---|
| public Rectangle2D getVisualBounds() Implements sun. | |
| handleDraw | back to summary |
|---|---|
| public void handleDraw(Graphics2D g2d, float x, float y) Implements sun. | |
| handleGetCharVisualBounds | back to summary |
|---|---|
| public Rectangle2D handleGetCharVisualBounds(int index) Implements sun. | |
| handleGetOutline | back to summary |
|---|---|
| public Shape handleGetOutline(float x, float y) Implements sun. | |
| handleGetVisualBounds | back to summary |
|---|---|
| public Rectangle2D handleGetVisualBounds() Implements sun. | |
| initLocalOrdering | back to summary |
|---|---|
| private void initLocalOrdering(int[] charsLtoV, byte[] levels, int start, int limit) Initialize graphicCount, also charsLtoV and levels arrays. | |
| isSimple | back to summary |
|---|---|
| public boolean isSimple() Implements sun. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |