java.lang.Object | |
↳ | sun.font.GraphicComponent |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
float | GRAPHIC_LEADING |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new GraphicComponent.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Apply deltas to the data in this component, starting at offset
deltaStart, and return the new component.
| |||||||||||
Return GlyphJustificationInfo objects for the characters between
charStart and charLimit, starting at offset infoStart.
| |||||||||||
Return the number of justification records this uses.
| |||||||||||
Return a TextLineComponent for the characters in the range
start, limit.
| |||||||||||
Returns a string representation of the object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Create a new GraphicComponent. start and limit are indices into charLtoV and levels. charsLtoV and levels may be adopted.
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.
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.
Return the number of justification records this uses.
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).
dir | one of the constants LEFT_TO_RIGHT, RIGHT_TO_LEFT, or UNCHANGED |
---|
Returns a string representation of the object. In general, the
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())