java.lang.Object
java.awt.font.TextLayout
- All Implemented Interfaces:
- Cloneable
- See Also:
- Top Examples, Source Code,
Graphics
, TextAttribute.FONT
, LineBreakMeasurer
,
TextHitInfo
protected Object clone()
- See Also:
Cloneable
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static final TextLayout.CaretPolicy DEFAULT_CARET_POLICY
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void draw(Graphics2D g2,
float x,
float y)
- See Also:
getBounds()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean equals(TextLayout rhs)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean equals(Object obj)
- See Also:
Hashtable
, Object.hashCode()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public float getAdvance()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public float getAscent()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public byte getBaseline()
- See Also:
Font
, getBaselineOffsets()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public float[] getBaselineOffsets()
- See Also:
Font
, getBaseline()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Shape getBlackBoxBounds(int firstEndpoint,
int secondEndpoint)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Rectangle2D getBounds()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public float[] getCaretInfo(TextHitInfo hit)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public float[] getCaretInfo(TextHitInfo hit,
Rectangle2D bounds)
- See Also:
Font.getItalicAngle()
, getCaretShapes(int, Rectangle2D, TextLayout.CaretPolicy)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Shape getCaretShape(TextHitInfo hit)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Shape getCaretShape(TextHitInfo hit,
Rectangle2D bounds)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Shape[] getCaretShapes(int offset)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Shape[] getCaretShapes(int offset,
Rectangle2D bounds)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Shape[] getCaretShapes(int offset,
Rectangle2D bounds,
TextLayout.CaretPolicy policy)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int getCharacterCount()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public byte getCharacterLevel(int index)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public float getDescent()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public TextLayout getJustifiedLayout(float justificationWidth)
- See Also:
- Error
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public float getLeading()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Shape getLogicalHighlightShape(int firstEndpoint,
int secondEndpoint)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Shape getLogicalHighlightShape(int firstEndpoint,
int secondEndpoint,
Rectangle2D bounds)
- See Also:
getVisualHighlightShape(TextHitInfo, TextHitInfo, Rectangle2D)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int[] getLogicalRangesForVisualSelection(TextHitInfo firstEndpoint,
TextHitInfo secondEndpoint)
- See Also:
getVisualHighlightShape(TextHitInfo, TextHitInfo, Rectangle2D)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public TextHitInfo getNextLeftHit(int offset)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public TextHitInfo getNextLeftHit(int offset,
TextLayout.CaretPolicy policy)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public TextHitInfo getNextLeftHit(TextHitInfo hit)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public TextHitInfo getNextRightHit(int offset)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public TextHitInfo getNextRightHit(int offset,
TextLayout.CaretPolicy policy)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public TextHitInfo getNextRightHit(TextHitInfo hit)
- See Also:
IllegalArgumentException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Shape getOutline(AffineTransform tx)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public float getVisibleAdvance()
- See Also:
getAdvance()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Shape getVisualHighlightShape(TextHitInfo firstEndpoint,
TextHitInfo secondEndpoint)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Shape getVisualHighlightShape(TextHitInfo firstEndpoint,
TextHitInfo secondEndpoint,
Rectangle2D bounds)
- See Also:
getLogicalHighlightShape(int, int, Rectangle2D)
, getLogicalRangesForVisualSelection(TextHitInfo, TextHitInfo)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public TextHitInfo getVisualOtherHit(TextHitInfo hit)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void handleJustify(float justificationWidth)
- See Also:
getJustifiedLayout(float)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int hashCode()
- See Also:
Hashtable
, Object.equals(java.lang.Object)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public TextHitInfo hitTestChar(float x,
float y)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public TextHitInfo hitTestChar(float x,
float y,
Rectangle2D bounds)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean isLeftToRight()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean isVertical()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public TextLayout(String string,
Font font,
FontRenderContext frc)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public TextLayout(String string,
Map<? extends AttributedCharacterIterator.Attribute,?> attributes,
FontRenderContext frc)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public TextLayout(AttributedCharacterIterator text,
FontRenderContext frc)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public String toString()
- See Also:
- Object
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples