Uses of Class
java.awt.font.TextLayout
-
Packages that use TextLayout 软件包 描述 java.awt.font 提供与字体相关的类和界面。 -
-
Uses of TextLayout in java.awt.font
Methods in java.awt.font that return TextLayout Modifier and Type 方法 描述 TextLayout
TextLayout. getJustifiedLayout(float justificationWidth)
创建一个TextLayout
对齐到指定宽度的副本。TextLayout
TextMeasurer. getLayout(int start, int limit)
在给定的字符范围内返回TextLayout
。TextLayout
LineBreakMeasurer. nextLayout(float wrappingWidth)
返回下一个布局,并更新当前位置。TextLayout
LineBreakMeasurer. nextLayout(float wrappingWidth, int offsetLimit, boolean requireNextWord)
返回下一个布局,并更新当前位置。Methods in java.awt.font with parameters of type TextLayout Modifier and Type 方法 描述 boolean
TextLayout. equals(TextLayout rhs)
如果两个布局相等,则返回true
。TextHitInfo
TextLayout.CaretPolicy. getStrongCaret(TextHitInfo hit1, TextHitInfo hit2, TextLayout layout)
Chooses one of the specifiedTextHitInfo
instances as a strong caret in the specifiedTextLayout
.
-