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 变量和类型 方法 描述 TextLayoutTextLayout. getJustifiedLayout(float justificationWidth)创建一个以指定宽度对齐的TextLayout的副本。TextLayoutTextMeasurer. getLayout(int start, int limit)返回给定字符范围的TextLayout。TextLayoutLineBreakMeasurer. nextLayout(float wrappingWidth)返回下一个布局,并更新当前位置。TextLayoutLineBreakMeasurer. nextLayout(float wrappingWidth, int offsetLimit, boolean requireNextWord)返回下一个布局,并更新当前位置。Methods in java.awt.font with parameters of type TextLayout 变量和类型 方法 描述 booleanTextLayout. equals(TextLayout rhs)如果两个布局相等,则返回true。TextHitInfoTextLayout.CaretPolicy. getStrongCaret(TextHitInfo hit1, TextHitInfo hit2, TextLayout layout)Chooses one of the specifiedTextHitInfoinstances as a strong caret in the specifiedTextLayout.
-